Debian Codegraph @

intl/icu_capi/bindings/cpp/ICU4XAnyCalendarKind.hpp

raw
1 #ifndef ICU4XAnyCalendarKind_HPP
2 #define ICU4XAnyCalendarKind_HPP
3 #include <stdint.h>
4 #include <stddef.h>
5 #include <stdbool.h>
6 #include <algorithm>
7 #include <memory>
8 #include <variant>
9 #include <optional>
10 #include "diplomat_runtime.hpp"
11
12 #include "ICU4XAnyCalendarKind.h"
13
14
15
16 /**
17 * The various calendar types currently supported by [`ICU4XCalendar`]
18 *
19 * See the [Rust documentation for `AnyCalendarKind`](https://docs.rs/icu/latest/icu/calendar/enum.AnyCalendarKind.html) for more information.
20 */
21 enum struct ICU4XAnyCalendarKind {
22
23 /**
24 * The kind of an Iso calendar
25 */
26 Iso = 0,
27
28 /**
29 * The kind of a Gregorian calendar
30 */
31 Gregorian = 1,
32
33 /**
34 * The kind of a Buddhist calendar
35 */
36 Buddhist = 2,
37
38 /**
39 * The kind of a Japanese calendar with modern eras
40 */
41 Japanese = 3,
42
43 /**
44 * The kind of a Japanese calendar with modern and historic eras
45 */
46 JapaneseExtended = 4,
47
48 /**
49 * The kind of an Ethiopian calendar, with Amete Mihret era
50 */
51 Ethiopian = 5,
52
53 /**
54 * The kind of an Ethiopian calendar, with Amete Alem era
55 */
56 EthiopianAmeteAlem = 6,
57
58 /**
59 * The kind of a Indian calendar
60 */
61 Indian = 7,
62
63 /**
64 * The kind of a Coptic calendar
65 */
66 Coptic = 8,
67
68 /**
69 * The kind of a Dangi calendar
70 */
71 Dangi = 9,
72
73 /**
74 * The kind of a Chinese calendar
75 */
76 Chinese = 10,
77
78 /**
79 * The kind of a Hebrew calendar
80 */
81 Hebrew = 11,
82
83 /**
84 * The kind of a Islamic civil calendar
85 */
86 IslamicCivil = 12,
87
88 /**
89 * The kind of a Islamic observational calendar
90 */
91 IslamicObservational = 13,
92
93 /**
94 * The kind of a Islamic tabular calendar
95 */
96 IslamicTabular = 14,
97
98 /**
99 * The kind of a Islamic Umm al-Qura calendar
100 */
101 IslamicUmmAlQura = 15,
102
103 /**
104 * The kind of a Persian calendar
105 */
106 Persian = 16,
107
108 /**
109 * The kind of a Roc calendar
110 */
111 Roc = 17,
112 };
113 class ICU4XLocale;
114 #include "ICU4XError.hpp"
115
116 #include "ICU4XLocale.hpp"
117 #endif