summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/js/package/lib/ICU4XTimeLength.js
blob: f8a9c7e5f0b1c98d74639b7236b7456fa0bc4b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import wasm from "./diplomat-wasm.mjs"
import * as diplomatRuntime from "./diplomat-runtime.js"

export const ICU4XTimeLength_js_to_rust = {
  "Full": 0,
  "Long": 1,
  "Medium": 2,
  "Short": 3,
};

export const ICU4XTimeLength_rust_to_js = {
  [0]: "Full",
  [1]: "Long",
  [2]: "Medium",
  [3]: "Short",
};

export const ICU4XTimeLength = {
  "Full": "Full",
  "Long": "Long",
  "Medium": "Medium",
  "Short": "Short",
};