NepaliCalendarEvent
Something that happens on one Bikram Sambat day: a public holiday, a festival, a school programme, a deadline, a birthday.
A holiday is an event like any other. What separates them is closesOffices, not the name: two days can both be called Dashain and only one of them close the school. That is why the flag lives here rather than on kind, where a taxonomy would have to decide for every institution at once.
Constructors
Properties
Whether the institution is shut for this. Defaults to what kind usually means, so a GovernmentPublic entry closes the day and an Observance does not, and either can be overridden: a regional holiday closes one district and not the next, and a school programme closes nothing at all.
Bikram Sambat date the event falls on. One day per entry, so a ten-day festival is ten entries, which spanningDays and spanningThrough build from one.
Category, which is what a calendar colors by. See NepaliEventKind.
Functions
This event on each of days consecutive days, starting on its own date, for a festival or a leave that runs longer than one day.
This event on each day from its own date through end, both ends included, which is the shape published holiday lists and leave requests usually state a span in.