WeekConstraint

data class WeekConstraint(val day: Int, val scheduleIntervals: List<ScheduleInterval>) : Parcelable

Constructors

Link copied to clipboard
constructor(day: Int, scheduleIntervals: List<ScheduleInterval>)

Properties

Link copied to clipboard
val day: Int

Represents the days of the week. Sunday = 1, Monday = 2, ..., Saturday = 7

Link copied to clipboard

Represents the list of bookable intervals. example: {'start':'09:00', 'end':'12:00'},{'start':'14:00', 'end':'18:00'}

Inherited functions

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