ScheduleDay

data class ScheduleDay(zonedDateTime: ZonedDateTime, timeSlots: List<TimeSlot>) : Parcelable

Represents a single day of available time slots.

Parameters

zonedDateTime

The date the time slots represent. The API incorrectly sends this with a time, but it should only represent the day. Highly recommended to not use this property, and use localDate instead.

timeSlots

A list of TimeSlot objects that are available.

Constructors

ScheduleDay
Link copied to clipboard
fun ScheduleDay(zonedDateTime: ZonedDateTime, timeSlots: List<TimeSlot> = listOf())
The date the time slots represent.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

localDate
Link copied to clipboard
val localDate: LocalDate
The appropriate LocalDate equivalent of zonedDateTime.
timeSlots
Link copied to clipboard
var timeSlots: List<TimeSlot>
A list of TimeSlot objects that are available.
zonedDateTime
Link copied to clipboard
val zonedDateTime: ZonedDateTime
The date the time slots represent.