PublicHoliday

data class PublicHoliday(val date: LocalDate, val ruleId: String, val name: String, val type: HolidayType, val isSubstitute: Boolean = false, val isEstimated: Boolean = false)

One holiday occurrence produced by HolidayCalendar.

Constructors

Link copied to clipboard
constructor(date: LocalDate, ruleId: String, name: String, type: HolidayType, isSubstitute: Boolean = false, isEstimated: Boolean = false)

Properties

Link copied to clipboard
val date: LocalDate
Link copied to clipboard

True when the date comes from a calculated calendar (Hijri) and the official date may still be announced differently.

Link copied to clipboard

True for a day off that replaces a holiday falling on a weekend.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard