core
Compose-free Bikram Sambat engine. Converts between BS and AD dates, resolves month layouts, formats dates in Nepali or English locales, and compares calendars — all on plain kotlinx-datetime with zero Compose dependency, so it ships on server, CLI, and every native target.
NepaliDateConverter is the entry point for most consumers. NepaliCalendarModel is the underlying locale-aware engine, and NepaliCalendarDefaults holds the supported year ranges and boundary calendars. The supported range (BS 1970..2100 / AD 1913..2043) is bounded by the conversion table in data/NepaliYearMonthMap.kt.
Indexing is 1-based: month/weekday 1 = Baisakh / Sunday, 12 = Chaitra; era 1 = AD, 2 = BS.
Compose-free Bikram Sambat engine. Converts between BS and AD dates, resolves month layouts, formats dates in Nepali or English locales, and compares calendars — all on plain kotlinx-datetime with zero Compose dependency, so it ships on server, CLI, and every native target.
NepaliDateConverter is the entry point for most consumers. NepaliCalendarModel is the underlying locale-aware engine, and NepaliCalendarDefaults holds the supported year ranges and boundary calendars. The supported range (BS 1970..2100 / AD 1913..2043) is bounded by the conversion table in data/NepaliYearMonthMap.kt.
Indexing is 1-based: month/weekday 1 = Baisakh / Sunday, 12 = Chaitra; era 1 = AD, 2 = BS.
Compose-free Bikram Sambat engine. Converts between BS and AD dates, resolves month layouts, formats dates in Nepali or English locales, and compares calendars — all on plain kotlinx-datetime with zero Compose dependency, so it ships on server, CLI, and every native target.
NepaliDateConverter is the entry point for most consumers. NepaliCalendarModel is the underlying locale-aware engine, and NepaliCalendarDefaults holds the supported year ranges and boundary calendars. The supported range (BS 1970..2100 / AD 1913..2043) is bounded by the conversion table in data/NepaliYearMonthMap.kt.
Indexing is 1-based: month/weekday 1 = Baisakh / Sunday, 12 = Chaitra; era 1 = AD, 2 = BS.
Compose-free Bikram Sambat engine. Converts between BS and AD dates, resolves month layouts, formats dates in Nepali or English locales, and compares calendars — all on plain kotlinx-datetime with zero Compose dependency, so it ships on server, CLI, and every native target.
NepaliDateConverter is the entry point for most consumers. NepaliCalendarModel is the underlying locale-aware engine, and NepaliCalendarDefaults holds the supported year ranges and boundary calendars. The supported range (BS 1970..2100 / AD 1913..2043) is bounded by the conversion table in data/NepaliYearMonthMap.kt.
Indexing is 1-based: month/weekday 1 = Baisakh / Sunday, 12 = Chaitra; era 1 = AD, 2 = BS.