VariableDate

data class VariableDate(val year: Int?, val annualEvent: AnnualEvent, val weekdayOffset: WeekdayOffset? = null, val dayOffset: Int = 0) : Date(source)

An annualEvent, optionally in a specific year and optional offsets

For example "Easter", "Tuesday after Easter 1999" or "2 days after Easter"

Constructors

Link copied to clipboard
constructor(year: Int?, annualEvent: AnnualEvent, weekdayOffset: WeekdayOffset? = null, dayOffset: Int = 0)
constructor(annualEvent: AnnualEvent, weekdayOffset: WeekdayOffset? = null, dayOffset: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val year: Int?

Functions

Link copied to clipboard
open operator fun rangeTo(end: Date): DateRange
Link copied to clipboard
open override fun toString(): String