LunarDayMetadata

data class LunarDayMetadata(val lunarDate: LunarDate, val solarTerm: SolarTerm? = null, val gregorianFestival: String? = null, val traditionalFestival: String? = null)

Structured lunisolar metadata attached to DayInfo.payload by LunarDayInfoProvider.

Constructors

Link copied to clipboard
constructor(lunarDate: LunarDate, solarTerm: SolarTerm? = null, gregorianFestival: String? = null, traditionalFestival: String? = null)

Properties

Link copied to clipboard

Gregorian-calendar festival on this date, if any. Besides fixed-date festivals (e.g. New Year's Day) it also carries floating ones computed from the weekday, such as Mother's Day, Father's Day and Thanksgiving.

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

Festival on the lunar calendar (e.g. Dragon Boat Festival), if any.