NthWeekday

data class NthWeekday(val month: Month, val dayOfWeek: DayOfWeek, val n: Int) : HolidayDate

The nth dayOfWeek of month; n = -1 is the last one. With n = 5 the rule produces no date in years where month has only four such weekdays.

Constructors

Link copied to clipboard
constructor(month: Month, dayOfWeek: DayOfWeek, n: Int)

Properties

Link copied to clipboard
val dayOfWeek: DayOfWeek
Link copied to clipboard
val month: Month
Link copied to clipboard
val n: Int