Package-level declarations
Serializers for the core calendar models. Register or reference these when persisting or transmitting Nepali Date Picker types through a kotlinx-serialization format.
Types
KSerializer for CustomCalendar - full struct form. All eleven fields are serialized; defaults from the data class are honored on the way back in so older payloads missing dayOfWeekInMonth / dayOfWeek / dayOfYear / weekOfMonth / weekOfYear still decode (those fields default to -1).
KSerializer for NepaliMonthCalendar - struct form with five required fields and one optional (daysFromStartOfWeekToFirstOfMonth, which defaults to firstDayOfMonth - 1).
Default KSerializer for SimpleDate - encodes as the string "YYYY-MM-DD".
Alternative KSerializer for SimpleDate - encodes as a JSON object {"year": …, "month": …, "dayOfMonth": …}.
Default KSerializer for SimpleTime - encodes as the string "HH:mm:ss.NNNNNNNNN", always in Asia/Kathmandu (the timezone all SimpleTimes in this library are anchored to). The nanosecond fractional part is omitted when nanosecond == 0 to keep wire payloads small.
Properties
Ready-to-register SerializersModule for all four data types.