Availability Schedule
data class AvailabilitySchedule(var availableDates: List<String> = emptyList(), var bookedDates: List<String> = emptyList())
Represents the availability schedule for a set of dates.
Properties
Functions
Link copied to clipboard
Adds dates to the schedule's available dates.
Link copied to clipboard
Cancels bookings for the specified dates.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks whether the list of dates are available and not booked.
Link copied to clipboard
Marks specified dates as booked if they are available. Dates outside the availability schedule are ignored.
Link copied to clipboard
Removes dates from the schedule's available dates.