summaryrefslogtreecommitdiffstats
path: root/intl/components/src/MeasureUnitGenerated.h
blob: 8febc88649205244b3c76f241ebdc6ef6803e059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// Generated by make_intl_data.py. DO NOT EDIT.

#ifndef intl_components_MeasureUnitGenerated_h
#define intl_components_MeasureUnitGenerated_h

namespace mozilla::intl {

struct SimpleMeasureUnit {
  const char* const type;
  const char* const name;
};

/**
 * The list of currently supported simple unit identifiers.
 *
 * The list must be kept in alphabetical order of |name|.
 */
inline constexpr SimpleMeasureUnit simpleMeasureUnits[] = {
    // clang-format off
  {"area", "acre"},
  {"digital", "bit"},
  {"digital", "byte"},
  {"temperature", "celsius"},
  {"length", "centimeter"},
  {"duration", "day"},
  {"angle", "degree"},
  {"temperature", "fahrenheit"},
  {"volume", "fluid-ounce"},
  {"length", "foot"},
  {"volume", "gallon"},
  {"digital", "gigabit"},
  {"digital", "gigabyte"},
  {"mass", "gram"},
  {"area", "hectare"},
  {"duration", "hour"},
  {"length", "inch"},
  {"digital", "kilobit"},
  {"digital", "kilobyte"},
  {"mass", "kilogram"},
  {"length", "kilometer"},
  {"volume", "liter"},
  {"digital", "megabit"},
  {"digital", "megabyte"},
  {"length", "meter"},
  {"duration", "microsecond"},
  {"length", "mile"},
  {"length", "mile-scandinavian"},
  {"volume", "milliliter"},
  {"length", "millimeter"},
  {"duration", "millisecond"},
  {"duration", "minute"},
  {"duration", "month"},
  {"duration", "nanosecond"},
  {"mass", "ounce"},
  {"concentr", "percent"},
  {"digital", "petabyte"},
  {"mass", "pound"},
  {"duration", "second"},
  {"mass", "stone"},
  {"digital", "terabit"},
  {"digital", "terabyte"},
  {"duration", "week"},
  {"length", "yard"},
  {"duration", "year"},
    // clang-format on
};

}  // namespace mozilla::intl

#endif