There are many different possibilities here, all grouped in
time-related settings which you'll find when editing resource properties.
Vacations (found in resource settings / actions) can be used to specify one-time or recurring (daily, weekly, annual) periods when the resource cannot be rented. Also regular resource settings allow specifying first/last working hour. Here you can also determine min. and max. rental time. By setting both to the same value you can always ensure fixed-length rentals, in which case the users will only have to enter start time (end time will be always pre-determined).
More advanced settings require using seasonal settings (also found in resource settings / actions) where you can specify exact weekdays when the rentals can begin (for day-based rentals).
The last possibility (in case of extremely complex models) is by using the pricing manager or the custom unavailability script (
more here).
For more information see
Q195