NepaliCalendarOptions

Optional customization for the full calendar pickers.

Kotlin default arguments do not survive the Objective-C bridge, so every knob a Swift caller might want is gathered here as a mutable property with the library's own default. Swift can build one with NepaliCalendarOptions() and set only what it needs to change.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

locale used for the Gregorian half. Falls back to the picker's locale.

Link copied to clipboard

the calendar the grid opens in. The date reported back is always Bikram Sambat, whichever calendar is displayed.

Link copied to clipboard

fills the grid's empty cells with the neighbouring months' days, drawn faded. Tapping one selects that day and moves the grid to its month.

Link copied to clipboard

whether the B.S. / A.D. switch is shown.

Link copied to clipboard

pairs every Bikram Sambat day with its Gregorian equivalent.

Link copied to clipboard

whether the calendar/typed-input switch is shown.

Link copied to clipboard

whether the shortcut back to today is shown.