Weekly

data class Weekly(val days: Set<RuleCalendar.Type.Weekly.Day>, val fromTime: Int, val toTime: Int, val timezoneOffset: Int) : RuleCalendar.Type

Rules are active during the same window on each of the selected days.

Constructors

Link copied to clipboard
constructor(days: Set<RuleCalendar.Type.Weekly.Day>, fromTime: Int, toTime: Int, timezoneOffset: Int)

Types

Link copied to clipboard

Day of the week.

Properties

Link copied to clipboard

Days of the week the window applies to.

Link copied to clipboard

Start of the window, in minutes from midnight (480 = 08:00).

Link copied to clipboard

Offset in minutes from UTC, a multiple of 15 (60 = UTC+1).

Link copied to clipboard
val toTime: Int

End of the window, in minutes from midnight; a value below fromTime wraps past midnight.