@nepdatejs/core 0.0.0-bootstrap → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,433 @@
1
+ //#region src/types.d.ts
2
+ /** The two calendars this library knows. */
3
+ type CalendarSystem = "AD" | "BS";
4
+ /**
5
+ * Whole days since 1970-01-01 AD. The only value the AD and BS calendars share:
6
+ * every conversion goes BS → EpochDay → AD and back (docs/plan D-001, D-002).
7
+ * Branded so a year, month or day number can never be passed by mistake.
8
+ */
9
+ type EpochDay = number & {
10
+ readonly __brand: "EpochDay";
11
+ };
12
+ /** 0 = Sunday … 6 = Saturday. */
13
+ type Weekday = 0 | 1 | 2 | 3 | 4 | 5 | 6;
14
+ /** 1 = Baisakh/January … 12 = Chaitra/December. */
15
+ type MonthNumber = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
16
+ /** A Gregorian (AD) calendar day. Create with `adDate()`; always frozen. */
17
+ interface AdDate {
18
+ readonly calendar: "AD";
19
+ readonly year: number;
20
+ readonly month: MonthNumber;
21
+ readonly day: number;
22
+ }
23
+ /** A Bikram Sambat (BS) calendar day. Create with `bsDate()`; always frozen. */
24
+ interface BsDate {
25
+ readonly calendar: "BS";
26
+ readonly year: number;
27
+ readonly month: MonthNumber;
28
+ readonly day: number;
29
+ }
30
+ type CalendarDate = AdDate | BsDate;
31
+ /** The date type of a calendar: `DateOf<'BS'>` is `BsDate`. */
32
+ type DateOf<C extends CalendarSystem> = C extends "AD" ? AdDate : BsDate;
33
+ /** The BS month-length table. Keyed by BS year only; holds no AD dates (D-001). */
34
+ interface BsData {
35
+ /** The BS year of the first row of `years`. */
36
+ readonly firstYear: number;
37
+ /** Days since 1970-01-01 of 1 Baisakh of `firstYear`. */
38
+ readonly epochStart: number;
39
+ /** Years after this one are projections, not yet checked against a published calendar. */
40
+ readonly verifiedThrough: number;
41
+ /** Twelve month lengths (Baisakh..Chaitra) per year, starting at `firstYear`. */
42
+ readonly years: readonly (readonly number[])[];
43
+ }
44
+ /** A locale code: built in are `en` and `ne`; more can be added with `registerLocale`. */
45
+ type LocaleCode = "en" | "ne" | (string & Record<never, never>);
46
+ /** Nepal's fiscal year: 1 Shrawan to the last day of Asar. */
47
+ interface FiscalYear {
48
+ /** The BS year the fiscal year starts in: 2083 for FY 2083/84. */
49
+ readonly startYear: number;
50
+ /** "2083/84" */
51
+ readonly label: string;
52
+ readonly firstDay: BsDate;
53
+ readonly lastDay: BsDate;
54
+ }
55
+ //#endregion
56
+ //#region src/errors.d.ts
57
+ type NepDateRangeErrorCode = "INVALID_DATE" | "OUT_OF_TABLE" | "INVALID_ARGUMENT";
58
+ /** Thrown for any invalid date or argument. Check `code`, not the message. */
59
+ export declare class NepDateRangeError extends RangeError {
60
+ readonly code: NepDateRangeErrorCode;
61
+ constructor(code: NepDateRangeErrorCode, message: string);
62
+ }
63
+ type NepDateDataErrorCode = "EMPTY" | "BAD_MONTH_COUNT" | "BAD_MONTH" | "BAD_YEAR_TOTAL" | "BAD_ANCHOR";
64
+ /** Thrown when a BS table passed to `setBsData` or `patchBsYear` is not valid. */
65
+ export declare class NepDateDataError extends Error {
66
+ readonly code: NepDateDataErrorCode;
67
+ /** The BS year at fault, when there is one. */
68
+ readonly year: number | undefined;
69
+ /** The month (1–12) at fault, when there is one. */
70
+ readonly month: number | undefined;
71
+ constructor(code: NepDateDataErrorCode, message: string, year?: number, month?: number);
72
+ }
73
+ //#endregion
74
+ //#region src/epoch.d.ts
75
+ /** Brand a whole number of days since 1970-01-01 as an `EpochDay`. */
76
+ export declare function toEpochDay(value: number): EpochDay;
77
+ /** The weekday of a day count. 1970-01-01 was a Thursday. */
78
+ export declare function weekdayOf(epoch: EpochDay): Weekday;
79
+ //#endregion
80
+ //#region src/config.d.ts
81
+ /**
82
+ * Settings shared by both calendars. Calendar data is not here: the BS table is
83
+ * managed by setBsData/patchBsYear, and AD needs no data (docs/plan D-001).
84
+ */
85
+ interface NepDateConfig {
86
+ /** Which time zone decides "today" and the calendar day of an instant. */
87
+ readonly timeZone: string;
88
+ readonly weekStartsOn: Weekday;
89
+ readonly weekendDays: readonly Weekday[];
90
+ readonly defaultLocale: LocaleCode;
91
+ }
92
+ /** Change one or more settings. Every value is checked before any is applied. */
93
+ export declare function configure(changes: Partial<NepDateConfig>): void;
94
+ export declare function getConfig(): NepDateConfig;
95
+ /** Back to the defaults (Kathmandu, Sunday first, Saturday weekend, English). */
96
+ export declare function resetConfig(): void;
97
+ //#endregion
98
+ //#region src/ad/calendar.d.ts
99
+ /**
100
+ * The Gregorian (AD) calendar, by arithmetic only: no table, no BS knowledge,
101
+ * no `Date`. Works for any year in ±MAX_AD_YEAR (docs/plan D-001).
102
+ *
103
+ * The day-count algorithms are Howard Hinnant's days_from_civil and
104
+ * civil_from_days (proleptic Gregorian, March-based years).
105
+ */
106
+ /** AD years must lie within ±this value. */
107
+ export declare const MAX_AD_YEAR = 999999;
108
+ export declare function isAdLeapYear(year: number): boolean;
109
+ //#endregion
110
+ //#region src/bs/table.d.ts
111
+ export declare function bsFirstYear(): number;
112
+ export declare function bsLastYear(): number;
113
+ //#endregion
114
+ //#region src/bs/data-api.d.ts
115
+ /** The first BS month of Nepal's fiscal year: Shrawan. */
116
+ export declare const BS_FISCAL_YEAR_START_MONTH = 4;
117
+ /** Throws NepDateDataError when the table is not usable. Same rules as scripts/gen-data.ts. */
118
+ export declare function validateBsData(table: BsData): void;
119
+ /** The BS table in use (frozen). */
120
+ export declare function getBsData(): BsData;
121
+ /** Replace the whole BS table. Only BS results change; AD functions are unaffected. */
122
+ export declare function setBsData(table: BsData): void;
123
+ /**
124
+ * Correct one year's month lengths, or add the year just before the first or
125
+ * just after the last. Years after a corrected year move with it; earlier years
126
+ * never move (adding a year before the first keeps every existing year in place).
127
+ */
128
+ export declare function patchBsYear(year: number, months: readonly number[]): void;
129
+ /** Back to the table bundled with the package. */
130
+ export declare function resetBsData(): void;
131
+ //#endregion
132
+ //#region src/create.d.ts
133
+ /** An AD date. Any year within ±999,999 is allowed; only conversion to BS is limited. */
134
+ export declare function adDate(year: number, month: number, day: number): AdDate;
135
+ /** A BS date. The year must be in the BS table. */
136
+ export declare function bsDate(year: number, month: number, day: number): BsDate;
137
+ export declare function createDate<C extends CalendarSystem>(calendar: C, year: number, month: number, day: number): DateOf<C>;
138
+ export declare function isValidDate(calendar: CalendarSystem, year: number, month: number, day: number): boolean;
139
+ /** Days in a month of either calendar. */
140
+ export declare function daysInMonth(calendar: CalendarSystem, year: number, month: number): number;
141
+ /** True for a valid, frozen-or-not AD date object (e.g. from JSON). */
142
+ export declare function isAdDate(value: unknown): value is AdDate;
143
+ /** True for a valid BS date object (e.g. from JSON). */
144
+ export declare function isBsDate(value: unknown): value is BsDate;
145
+ export declare function isCalendarDate(value: unknown): value is CalendarDate;
146
+ //#endregion
147
+ //#region src/convert.d.ts
148
+ /** The day count of a date in either calendar. */
149
+ export declare function toEpoch(date: CalendarDate): EpochDay;
150
+ /** The date of a day count in a calendar. BS throws OUT_OF_TABLE outside the table. */
151
+ export declare function fromEpoch<C extends CalendarSystem>(epoch: EpochDay, calendar: C): DateOf<C>;
152
+ export declare function adToBs(date: AdDate): BsDate;
153
+ export declare function bsToAd(date: BsDate): AdDate;
154
+ /** The same day in the given calendar (the date itself when it is already in it). */
155
+ export declare function toCalendar<C extends CalendarSystem>(date: CalendarDate, calendar: C): DateOf<C>;
156
+ /** The first day that can be converted, in either calendar (the start of the BS table). */
157
+ export declare function minDate<C extends CalendarSystem>(calendar: C): DateOf<C>;
158
+ /** The last day that can be converted, in either calendar (the end of the BS table). */
159
+ export declare function maxDate<C extends CalendarSystem>(calendar: C): DateOf<C>;
160
+ /** Whether a date can be converted to the other calendar. */
161
+ export declare function isConvertible(date: CalendarDate): boolean;
162
+ /** The AD day as "YYYY-MM-DD", the form to store and send (docs/plan D-003). */
163
+ export declare function toIsoDate(date: CalendarDate): string;
164
+ /**
165
+ * An AD date from "YYYY-MM-DD", or from a longer ISO timestamp by its date part
166
+ * ("2026-10-18T09:30:00Z" → 2026-10-18). Null for anything else.
167
+ */
168
+ export declare function fromIsoDate(value: string | null | undefined): AdDate | null;
169
+ /** The AD calendar day an instant falls on in a time zone (Nepal by default). */
170
+ export declare function fromJsDate(instant: Date, timeZone?: string): AdDate;
171
+ /**
172
+ * The calendar day and time of an ISO timestamp *with a zone* ("…Z",
173
+ * "…+05:45"), read in `timeZone` (Nepal by default). Null for anything else,
174
+ * including plain dates, which have no instant.
175
+ */
176
+ export declare function fromIsoTimestamp(value: string | null | undefined, timeZone?: string): {
177
+ readonly date: AdDate;
178
+ readonly time: string;
179
+ } | null;
180
+ //#endregion
181
+ //#region src/projected.d.ts
182
+ /** Whether the date's BS year is after the last year checked against a published calendar. */
183
+ export declare function isProjected(date: CalendarDate): boolean;
184
+ //#endregion
185
+ //#region src/clock.d.ts
186
+ /**
187
+ * Today's date by the calendar day in `timeZone` (Nepal by default), not the
188
+ * device's zone. The only function in the library that reads the clock.
189
+ */
190
+ export declare function today(): AdDate;
191
+ export declare function today<C extends CalendarSystem>(calendar: C, timeZone?: string): DateOf<C>;
192
+ /** The current calendar day and time (HH:MM) in `timeZone` (Nepal by default). */
193
+ export declare function now(timeZone?: string): {
194
+ readonly date: AdDate;
195
+ readonly time: {
196
+ readonly hour: number;
197
+ readonly minute: number;
198
+ };
199
+ };
200
+ //#endregion
201
+ //#region src/arithmetic.d.ts
202
+ /** A date in the same calendar as `D`. */
203
+ type Same<D extends CalendarDate> = DateOf<D["calendar"]>;
204
+ export declare function addDays<D extends CalendarDate>(date: D, days: number): Same<D>;
205
+ /** Move by whole months in the date's own calendar; the day is capped to the new month's length. */
206
+ export declare function addMonths<D extends CalendarDate>(date: D, months: number): Same<D>;
207
+ /** Move by whole years in the date's own calendar; the day is capped (29 Feb, short BS months). */
208
+ export declare function addYears<D extends CalendarDate>(date: D, years: number): Same<D>;
209
+ export declare function startOfMonth<D extends CalendarDate>(date: D): Same<D>;
210
+ export declare function endOfMonth<D extends CalendarDate>(date: D): Same<D>;
211
+ export declare function startOfYear<D extends CalendarDate>(date: D): Same<D>;
212
+ export declare function endOfYear<D extends CalendarDate>(date: D): Same<D>;
213
+ export declare function startOfWeek<D extends CalendarDate>(date: D, weekStartsOn?: Weekday): Same<D>;
214
+ export declare function endOfWeek<D extends CalendarDate>(date: D, weekStartsOn?: Weekday): Same<D>;
215
+ /** Whole days from `b` to `a` (positive when `a` is later). The calendars may differ. */
216
+ export declare function differenceInDays(a: CalendarDate, b: CalendarDate): number;
217
+ /** Every day from `start` to `end` inclusive, in `start`'s calendar. Nothing when end < start. */
218
+ export declare function eachDayOfInterval<D extends CalendarDate>(start: D, end: CalendarDate): Generator<Same<D>, void, undefined>;
219
+ /** Every day of the month the date is in. */
220
+ export declare function eachDayOfMonth<D extends CalendarDate>(date: D): Same<D>[];
221
+ //#endregion
222
+ //#region src/compare.d.ts
223
+ type Maybe = CalendarDate | null | undefined;
224
+ /** -1, 0 or 1. Dates in different calendars compare by the day they fall on. */
225
+ export declare function compareDates(a: CalendarDate, b: CalendarDate): -1 | 0 | 1;
226
+ /** Same day, in any calendars. False when either is missing. */
227
+ export declare function isSameDay(a: Maybe, b: Maybe): boolean;
228
+ /** Whether `b` falls in the same month as `a`, judged in `a`'s calendar. */
229
+ export declare function isSameMonth(a: CalendarDate, b: CalendarDate): boolean;
230
+ /** Whether `b` falls in the same year as `a`, judged in `a`'s calendar. */
231
+ export declare function isSameYear(a: CalendarDate, b: CalendarDate): boolean;
232
+ export declare function isBefore(a: CalendarDate, b: CalendarDate): boolean;
233
+ export declare function isAfter(a: CalendarDate, b: CalendarDate): boolean;
234
+ /** On or after `min` and on or before `max`; a missing bound is open. */
235
+ export declare function isWithin(date: CalendarDate, min?: Maybe, max?: Maybe): boolean;
236
+ /** The date, or the nearest bound when it is outside, in the date's calendar. */
237
+ export declare function clampDate<D extends CalendarDate>(date: D, min?: Maybe, max?: Maybe): DateOf<D["calendar"]>;
238
+ /** 0 = Sunday … 6 = Saturday. The same in both calendars. */
239
+ export declare function dayOfWeek(date: CalendarDate): Weekday;
240
+ /** Saturday by default (Nepal); set `weekendDays` in configure() or pass them here. */
241
+ export declare function isWeekend(date: CalendarDate, weekendDays?: readonly Weekday[]): boolean;
242
+ //#endregion
243
+ //#region src/locale/registry.d.ts
244
+ type Names12 = readonly string[];
245
+ /** Everything a language needs: digits, names, UI labels and validation messages. */
246
+ interface LocaleData {
247
+ /** Ten digit characters, 0–9. */
248
+ readonly digits: readonly string[];
249
+ /** Seven names each, Sunday first. */
250
+ readonly weekdays: {
251
+ readonly long: readonly string[];
252
+ readonly short: readonly string[];
253
+ readonly narrow: readonly string[];
254
+ };
255
+ /** Twelve names each, first month first. */
256
+ readonly months: {
257
+ readonly AD: {
258
+ readonly long: Names12;
259
+ readonly short: Names12;
260
+ };
261
+ readonly BS: {
262
+ readonly long: Names12;
263
+ readonly short: Names12;
264
+ };
265
+ };
266
+ /** How each calendar is named in this language: "BS" / "वि.सं.". */
267
+ readonly calendarNames: {
268
+ readonly AD: string;
269
+ readonly BS: string;
270
+ };
271
+ readonly labels: {
272
+ readonly today: string;
273
+ readonly clear: string;
274
+ readonly previousMonth: string;
275
+ readonly nextMonth: string;
276
+ readonly previousYear: string;
277
+ readonly nextYear: string;
278
+ readonly month: string;
279
+ readonly year: string;
280
+ readonly openCalendar: string;
281
+ readonly chooseDate: string;
282
+ readonly calendar: string;
283
+ /** Picker shortcuts (presets) and the name of their list. */
284
+ readonly presets: string;
285
+ readonly fiscalYear: string;
286
+ readonly time: string;
287
+ readonly hour: string;
288
+ readonly minute: string;
289
+ readonly now: string;
290
+ readonly done: string;
291
+ };
292
+ /** Words for 12-hour times. */
293
+ readonly time: {
294
+ readonly am: string;
295
+ readonly pm: string;
296
+ };
297
+ /** Names of the built-in picker presets. */
298
+ readonly presets: {
299
+ readonly today: string;
300
+ readonly yesterday: string;
301
+ readonly tomorrow: string;
302
+ readonly thisWeek: string;
303
+ readonly lastWeek: string;
304
+ readonly last7Days: string;
305
+ readonly last30Days: string;
306
+ readonly thisMonth: string;
307
+ readonly lastMonth: string;
308
+ readonly thisYear: string;
309
+ readonly thisFiscalYear: string;
310
+ readonly lastFiscalYear: string;
311
+ };
312
+ /** Messages may use {min} and {max} placeholders. */
313
+ readonly messages: {
314
+ readonly invalidFormat: {
315
+ readonly AD: string;
316
+ readonly BS: string;
317
+ };
318
+ readonly outOfRange: string;
319
+ readonly onOrAfter: string;
320
+ readonly onOrBefore: string;
321
+ readonly unavailable: string;
322
+ /** Range pickers: {min} / {max} are day counts. */
323
+ readonly rangeTooShort: string;
324
+ readonly rangeTooLong: string;
325
+ /** Multiple-date pickers: {max} is a count of dates. */
326
+ readonly tooManyDates: string;
327
+ readonly invalidTime: string;
328
+ };
329
+ }
330
+ /** Add or replace a language. Lists must have the right lengths (10 digits, 7 weekdays, 12 months). */
331
+ export declare function registerLocale(code: LocaleCode, data: LocaleData): void;
332
+ export declare function hasLocale(code: LocaleCode): boolean;
333
+ //#endregion
334
+ //#region src/locale/index.d.ts
335
+ /** The data for a locale (the configured default when omitted; English when unknown). */
336
+ export declare function getLocale(locale?: LocaleCode): LocaleData;
337
+ export declare function monthNames(calendar: CalendarSystem, locale?: LocaleCode, width?: "long" | "short"): readonly string[];
338
+ export declare function weekdayNames(locale?: LocaleCode, width?: "long" | "short" | "narrow"): readonly string[];
339
+ /** Replace Devanagari digits with ASCII digits. */
340
+ export declare function toAsciiDigits(value: string): string;
341
+ /** Replace ASCII digits with Devanagari digits. */
342
+ export declare function toDevanagariDigits(value: string | number): string;
343
+ /** Write a number (or digit string) with the locale's digits. */
344
+ export declare function formatNumber(value: string | number, locale?: LocaleCode): string;
345
+ /** Fill {name} placeholders in a locale message. */
346
+ export declare function formatMessage(template: string, values: Record<string, string>): string;
347
+ //#endregion
348
+ //#region src/format.d.ts
349
+ /** Named formats. `cbms` is the dotted form Nepal's tax system uses. */
350
+ export declare const DATE_FORMATS: {
351
+ readonly iso: "Y-m-d";
352
+ readonly cbms: "Y.m.d";
353
+ readonly short: "j M Y";
354
+ readonly long: "j F Y";
355
+ readonly full: "l, j F Y";
356
+ };
357
+ type NamedFormat = keyof typeof DATE_FORMATS;
358
+ /** A named format, or a pattern of tokens (see formatDate). */
359
+ type DateFormatPattern = NamedFormat | (string & Record<never, never>);
360
+ /**
361
+ * Format a date in its own calendar. Tokens: Y 2083, y 83, m 06, n 6, d 09,
362
+ * j 9, F month name, M short month name, l weekday, D short weekday. Put a
363
+ * backslash before a letter to print it as is. Digits follow the locale.
364
+ *
365
+ * formatDate(bsDate(2082, 4, 1), 'full') → "Thursday, 1 Shrawan 2082"
366
+ * formatDate(bsDate(2082, 4, 1), 'long', 'ne') → "१ साउन २०८२"
367
+ */
368
+ export declare function formatDate(date: CalendarDate, pattern?: DateFormatPattern, locale?: LocaleCode): string;
369
+ //#endregion
370
+ //#region src/parse.d.ts
371
+ /**
372
+ * A date written year first ("2083-06-24", "2083/6/24", "2083.06.24", or
373
+ * compact "20830624") in ASCII or Devanagari digits, in the calendar the caller names. Other orders are
374
+ * rejected, not guessed. Returns null when the text is not a valid date.
375
+ */
376
+ export declare function parseDate<C extends CalendarSystem>(text: string | null | undefined, calendar: C): DateOf<C> | null;
377
+ /** Like parseDate, but throws a NepDateRangeError that says what is wrong. */
378
+ export declare function parseDateStrict<C extends CalendarSystem>(text: string, calendar: C): DateOf<C>;
379
+ /**
380
+ * A fiscal year from its label: "2083/84", "2083/2084", "2083-84" or the
381
+ * tax form "2083.084", in ASCII or Devanagari digits. Null when not valid.
382
+ */
383
+ export declare function parseFiscalYear(text: string | null | undefined): FiscalYear | null;
384
+ //#endregion
385
+ //#region src/fiscal.d.ts
386
+ /** The fiscal year a date falls in: 1 Shrawan to the end of Asar. */
387
+ export declare function fiscalYear(date: CalendarDate): FiscalYear;
388
+ /** The fiscal year that starts in BS `startYear` (2083 → FY 2083/84). */
389
+ export declare function fiscalYearRange(startYear: number): FiscalYear;
390
+ /**
391
+ * label "2083/84" · full "2083/2084" · cbms "2083.084" (the form Nepal's tax
392
+ * system uses). Digits follow the locale.
393
+ */
394
+ export declare function formatFiscalYear(fy: FiscalYear, style?: "label" | "full" | "cbms", locale?: LocaleCode): string;
395
+ export declare function isInFiscalYear(date: CalendarDate, fy: FiscalYear): boolean;
396
+ //#endregion
397
+ //#region src/time.d.ts
398
+ /** A time of day, 00:00–23:59. Frozen like dates. */
399
+ interface TimeOfDay {
400
+ readonly hour: number;
401
+ readonly minute: number;
402
+ }
403
+ export declare function timeOfDay(hour: number, minute?: number): TimeOfDay;
404
+ export declare function isValidTime(hour: number, minute: number): boolean;
405
+ /** -1, 0 or 1. */
406
+ export declare function compareTimes(a: TimeOfDay, b: TimeOfDay): -1 | 0 | 1;
407
+ /**
408
+ * "14:30", "2:30 pm", "2 PM", "1430", "१४:३०", "२:३० अपराह्न" → TimeOfDay.
409
+ * Null when the text is not a time.
410
+ */
411
+ export declare function parseTime(text: string | null | undefined): TimeOfDay | null;
412
+ /** "14:30" (24-hour) or "2:30 PM" (hour12), in the locale's digits and words. */
413
+ export declare function formatTime(time: TimeOfDay, options?: {
414
+ readonly hour12?: boolean;
415
+ readonly locale?: LocaleCode;
416
+ }): string;
417
+ /**
418
+ * The instant of a calendar day and time in a zone (Nepal by default), as an
419
+ * ISO timestamp with that zone's offset: "2026-10-18T14:30:00+05:45".
420
+ */
421
+ export declare function toIsoDateTime(date: CalendarDate, time: TimeOfDay, timeZone?: string): string;
422
+ /**
423
+ * The day and time of an ISO timestamp in a zone (Nepal by default). A value
424
+ * without an offset ("2026-10-18T14:30", as from <input type="datetime-local">)
425
+ * is read as a wall time already in that zone. Null for anything else.
426
+ */
427
+ export declare function fromIsoDateTime(value: string | null | undefined, timeZone?: string): {
428
+ readonly date: AdDate;
429
+ readonly time: TimeOfDay;
430
+ } | null;
431
+ //#endregion
432
+ export type { AdDate, BsData, BsDate, CalendarDate, CalendarSystem, DateFormatPattern, DateOf, EpochDay, FiscalYear, LocaleCode, LocaleData, MonthNumber, NamedFormat, NepDateConfig, NepDateDataErrorCode, NepDateRangeErrorCode, TimeOfDay, Weekday };
433
+ //# sourceMappingURL=index.d.ts.map