Debian Codegraph @

intl/components/src/MeasureUnitGenerated.h

raw
1 // Generated by make_intl_data.py. DO NOT EDIT.
2
3 #ifndef intl_components_MeasureUnitGenerated_h
4 #define intl_components_MeasureUnitGenerated_h
5
6 namespace mozilla::intl {
7
8 struct SimpleMeasureUnit {
9 const char* const type;
10 const char* const name;
11 };
12
13 /**
14 * The list of currently supported simple unit identifiers.
15 *
16 * The list must be kept in alphabetical order of |name|.
17 */
18 inline constexpr SimpleMeasureUnit simpleMeasureUnits[] = {
19 // clang-format off
20 {"area", "acre"},
21 {"digital", "bit"},
22 {"digital", "byte"},
23 {"temperature", "celsius"},
24 {"length", "centimeter"},
25 {"duration", "day"},
26 {"angle", "degree"},
27 {"temperature", "fahrenheit"},
28 {"volume", "fluid-ounce"},
29 {"length", "foot"},
30 {"volume", "gallon"},
31 {"digital", "gigabit"},
32 {"digital", "gigabyte"},
33 {"mass", "gram"},
34 {"area", "hectare"},
35 {"duration", "hour"},
36 {"length", "inch"},
37 {"digital", "kilobit"},
38 {"digital", "kilobyte"},
39 {"mass", "kilogram"},
40 {"length", "kilometer"},
41 {"volume", "liter"},
42 {"digital", "megabit"},
43 {"digital", "megabyte"},
44 {"length", "meter"},
45 {"duration", "microsecond"},
46 {"length", "mile"},
47 {"length", "mile-scandinavian"},
48 {"volume", "milliliter"},
49 {"length", "millimeter"},
50 {"duration", "millisecond"},
51 {"duration", "minute"},
52 {"duration", "month"},
53 {"duration", "nanosecond"},
54 {"mass", "ounce"},
55 {"concentr", "percent"},
56 {"digital", "petabyte"},
57 {"mass", "pound"},
58 {"duration", "second"},
59 {"mass", "stone"},
60 {"digital", "terabit"},
61 {"digital", "terabyte"},
62 {"duration", "week"},
63 {"length", "yard"},
64 {"duration", "year"},
65 // clang-format on
66 };
67
68 } // namespace mozilla::intl
69
70 #endif