Package-level declarations
Types
One institution's closed days: the weekdays it never opens plus the holidays it keeps.
A fully described calendar date in either the Bikram Sambat or Gregorian system.
The year, month and day recovered by parseBsDateText, with no calendar lookup performed.
A NepaliDate paired with a NepaliTime. Mirrors the shared CustomDateTime.
What one day is under a policy.
One thing on one day: a public holiday, a festival, a programme, a meeting.
Month-level metadata used to lay out a Bikram Sambat month grid.
A time of day in the Asia/Kathmandu zone. Mirrors the shared SimpleTime.
Functions
Parse an ISO 8601 timestamp into a Gregorian date and Nepali time.
Add (or subtract, with a negative value) days to a Bikram Sambat date.
Parse an ISO 8601 timestamp into a Bikram Sambat date and Nepali time.
Convert a Gregorian (AD) date to its Bikram Sambat (BS) equivalent.
Convert a Bikram Sambat (BS) date to its Gregorian (AD) equivalent.
A policy over weeklyOffDays (1 for Sunday through 7 for Saturday) and events.
The same as createEvent, with everything the shorter form leaves to its kind spelled out.
One holiday for createCalendarPolicy.
event repeated on each day from its own date through the given end date, both ends included, which is how a published holiday list or a leave request usually states a span.
Format a time of day as HH:mm:ss, gaining a .nnnnnnnnn fractional part only when nanosecond is non-zero.
The fully described Gregorian calendar for an AD year / month / day.
Every day of a Bikram Sambat month as its Gregorian equivalent, in day order.
Month-grid metadata for a Gregorian year / month.
Inclusive supported Gregorian year range.
The Gregorian years a Gregorian-first calendar should offer for a Bikram Sambat year range, so both calendars cover the same span of real days.
The fully described Bikram Sambat calendar for a BS year / month / day.
Every day of a Gregorian month as its Bikram Sambat equivalent, in day order.
Month-grid metadata for a Bikram Sambat year / month.
Inclusive supported Bikram Sambat year range.
The current wall-clock time in the Asia/Kathmandu zone.
Today in the Gregorian calendar, in the Asia/Kathmandu zone.
Today in the Bikram Sambat calendar, in the Asia/Kathmandu zone.
Total days in a Gregorian month.
Total days in a Bikram Sambat month.
Whether a Gregorian date has a Bikram Sambat equivalent.
Parse fixed-width date text back into its year, month and day, returning null when text is not that pattern.
Parse HH:mm:ss or HH:mm:ss.nnnnnnnnn text into a time of day, returning null when text is not one of those.
Convert digits in any supported non-Latin script back to ASCII 0-9.