UNPKG

bs-calendar-react

Version:

A npm package for nepali calendar with holiday.

38 lines (37 loc) 1.13 kB
/** * Magic numbers: * BS_YEAR_ZERO <- the first year (BS) encoded in ENCODED_MONTH_LENGTHS * month #5 <- this is the only month which has a day variation of more than 1 * & 3 <- this is a 2 bit mask, i.e. 0...011 */ declare function daysInMonth(year: any, month: any): number; declare function toBik(greg: any): { year: number; month: number; day: number; }; declare function toDev(year: any, month: any, day: any): { day: any; month: string; year: any; }; declare function toBik_euro(greg: any): string; declare function toBik_dev(greg: any): any; declare function toBik_text(greg: any): string; declare function toGreg(year: any, month: any, day: any): { year: number; month: number; day: number; }; declare function toGreg_text(year: any, month: any, day: any): string; declare const _default: { daysInMonth: typeof daysInMonth; toBik: typeof toBik; toDev: typeof toDev; toBik_dev: typeof toBik_dev; toBik_euro: typeof toBik_euro; toBik_text: typeof toBik_text; toGreg: typeof toGreg; toGreg_text: typeof toGreg_text; }; export default _default;