1 | /**
|
2 | * An enum mapping days of the week in Gregorian calendar to their index as returned by the `firstWeekday` property.
|
3 | */
|
4 | export var Weekday;
|
5 | (function (Weekday) {
|
6 | Weekday[Weekday["SUNDAY"] = 1] = "SUNDAY";
|
7 | Weekday[Weekday["MONDAY"] = 2] = "MONDAY";
|
8 | Weekday[Weekday["TUESDAY"] = 3] = "TUESDAY";
|
9 | Weekday[Weekday["WEDNESDAY"] = 4] = "WEDNESDAY";
|
10 | Weekday[Weekday["THURSDAY"] = 5] = "THURSDAY";
|
11 | Weekday[Weekday["FRIDAY"] = 6] = "FRIDAY";
|
12 | Weekday[Weekday["SATURDAY"] = 7] = "SATURDAY";
|
13 | })(Weekday || (Weekday = {}));
|
14 | /**
|
15 | * The calendar identifier, one of [Unicode calendar types](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/calendar).
|
16 | * Gregorian calendar is aliased and can be referred to as both `CalendarIdentifier.GREGORIAN` and `CalendarIdentifier.GREGORY`.
|
17 | */
|
18 | export var CalendarIdentifier;
|
19 | (function (CalendarIdentifier) {
|
20 | /** Thai Buddhist calendar */
|
21 | CalendarIdentifier["BUDDHIST"] = "buddhist";
|
22 | /** Traditional Chinese calendar */
|
23 | CalendarIdentifier["CHINESE"] = "chinese";
|
24 | /** Coptic calendar */
|
25 | CalendarIdentifier["COPTIC"] = "coptic";
|
26 | /** Traditional Korean calendar */
|
27 | CalendarIdentifier["DANGI"] = "dangi";
|
28 | /** Ethiopic calendar, Amete Alem (epoch approx. 5493 B.C.E) */
|
29 | CalendarIdentifier["ETHIOAA"] = "ethioaa";
|
30 | /** Ethiopic calendar, Amete Mihret (epoch approx, 8 C.E.) */
|
31 | CalendarIdentifier["ETHIOPIC"] = "ethiopic";
|
32 | /** Gregorian calendar */
|
33 | CalendarIdentifier["GREGORY"] = "gregory";
|
34 | /** Gregorian calendar (alias) */
|
35 | CalendarIdentifier["GREGORIAN"] = "gregory";
|
36 | /** Traditional Hebrew calendar */
|
37 | CalendarIdentifier["HEBREW"] = "hebrew";
|
38 | /** Indian calendar */
|
39 | CalendarIdentifier["INDIAN"] = "indian";
|
40 | /** Islamic calendar */
|
41 | CalendarIdentifier["ISLAMIC"] = "islamic";
|
42 | /** Islamic calendar, tabular (intercalary years [2,5,7,10,13,16,18,21,24,26,29] - civil epoch) */
|
43 | CalendarIdentifier["ISLAMIC_CIVIL"] = "islamic-civil";
|
44 | /** Islamic calendar, Saudi Arabia sighting */
|
45 | CalendarIdentifier["ISLAMIC_RGSA"] = "islamic-rgsa";
|
46 | /**Islamic calendar, tabular (intercalary years [2,5,7,10,13,16,18,21,24,26,29] - astronomical epoch) */
|
47 | CalendarIdentifier["ISLAMIC_TBLA"] = "islamic-tbla";
|
48 | /** Islamic calendar, Umm al-Qura */
|
49 | CalendarIdentifier["ISLAMIC_UMALQURA"] = "islamic-umalqura";
|
50 | /** ISO calendar (Gregorian calendar using the ISO 8601 calendar week rules) */
|
51 | CalendarIdentifier["ISO8601"] = "iso8601";
|
52 | /** Japanese imperial calendar */
|
53 | CalendarIdentifier["JAPANESE"] = "japanese";
|
54 | /** Persian calendar */
|
55 | CalendarIdentifier["PERSIAN"] = "persian";
|
56 | /** Civil (algorithmic) Arabic calendar */
|
57 | CalendarIdentifier["ROC"] = "roc";
|
58 | })(CalendarIdentifier || (CalendarIdentifier = {}));
|
59 | //# sourceMappingURL=Localization.types.js.map |
\ | No newline at end of file |