diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /intl/icu_capi/js/package/lib/ICU4XAnyCalendarKind.js | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'intl/icu_capi/js/package/lib/ICU4XAnyCalendarKind.js')
-rw-r--r-- | intl/icu_capi/js/package/lib/ICU4XAnyCalendarKind.js | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/intl/icu_capi/js/package/lib/ICU4XAnyCalendarKind.js b/intl/icu_capi/js/package/lib/ICU4XAnyCalendarKind.js new file mode 100644 index 0000000000..64cd2d608b --- /dev/null +++ b/intl/icu_capi/js/package/lib/ICU4XAnyCalendarKind.js @@ -0,0 +1,66 @@ +import wasm from "./diplomat-wasm.mjs" +import * as diplomatRuntime from "./diplomat-runtime.js" +import { ICU4XError_js_to_rust, ICU4XError_rust_to_js } from "./ICU4XError.js" + +export const ICU4XAnyCalendarKind_js_to_rust = { + "Iso": 0, + "Gregorian": 1, + "Buddhist": 2, + "Japanese": 3, + "JapaneseExtended": 4, + "Ethiopian": 5, + "EthiopianAmeteAlem": 6, + "Indian": 7, + "Coptic": 8, + "Dangi": 9, + "Chinese": 10, + "Hebrew": 11, + "IslamicCivil": 12, + "IslamicObservational": 13, + "IslamicTabular": 14, + "IslamicUmmAlQura": 15, + "Persian": 16, + "Roc": 17, +}; + +export const ICU4XAnyCalendarKind_rust_to_js = { + [0]: "Iso", + [1]: "Gregorian", + [2]: "Buddhist", + [3]: "Japanese", + [4]: "JapaneseExtended", + [5]: "Ethiopian", + [6]: "EthiopianAmeteAlem", + [7]: "Indian", + [8]: "Coptic", + [9]: "Dangi", + [10]: "Chinese", + [11]: "Hebrew", + [12]: "IslamicCivil", + [13]: "IslamicObservational", + [14]: "IslamicTabular", + [15]: "IslamicUmmAlQura", + [16]: "Persian", + [17]: "Roc", +}; + +export const ICU4XAnyCalendarKind = { + "Iso": "Iso", + "Gregorian": "Gregorian", + "Buddhist": "Buddhist", + "Japanese": "Japanese", + "JapaneseExtended": "JapaneseExtended", + "Ethiopian": "Ethiopian", + "EthiopianAmeteAlem": "EthiopianAmeteAlem", + "Indian": "Indian", + "Coptic": "Coptic", + "Dangi": "Dangi", + "Chinese": "Chinese", + "Hebrew": "Hebrew", + "IslamicCivil": "IslamicCivil", + "IslamicObservational": "IslamicObservational", + "IslamicTabular": "IslamicTabular", + "IslamicUmmAlQura": "IslamicUmmAlQura", + "Persian": "Persian", + "Roc": "Roc", +}; |