PersianDayInfoProvider

class PersianDayInfoProvider(strings: PersianStrings = PersianStrings.English) : DayInfoProvider

DayInfoProvider that labels each day with its Persian (Jalali) date: the month name on the first day of a month, the day number otherwise. DayInfo.payload is the PersianDate, DayInfo.tags is ["persian"] and DayInfo.priority is DayInfoPriority.SECONDARY. Dates outside the supported years -61..3177 AP return null.

Constructors

Link copied to clipboard
constructor(strings: PersianStrings = PersianStrings.English)

Functions

Link copied to clipboard
open override fun info(date: LocalDate): DayInfo?
Link copied to clipboard
open operator fun plus(other: DayInfoProvider): DayInfoProvider