|
ICU4X
International Components for Unicode
|
#include <CalendarKind.d.hpp>
Public Types | |
| enum | Value { Iso = 0 , Gregorian = 1 , Buddhist = 2 , Japanese = 3 , JapaneseExtended = 4 , Ethiopian = 5 , EthiopianAmeteAlem = 6 , Indian = 7 , Coptic = 8 , Dangi = 9 , Chinese = 10 , Hebrew = 11 , HijriTabularTypeIIFriday = 12 , HijriSimulatedMecca = 18 , HijriTabularTypeIIThursday = 14 , HijriUmmAlQura = 15 , Persian = 16 , Roc = 17 } |
Public Member Functions | |
| CalendarKind () | |
| constexpr | CalendarKind (Value v) |
| constexpr | operator Value () const |
| operator bool () const =delete | |
Static Public Member Functions | |
| static icu4x::CalendarKind | create (const icu4x::Locale &locale) |
The various calendar types currently supported by Calendar
See the Rust documentation for AnyCalendarKind for more information.
| Enumerator | |
|---|---|
| Iso | The kind of an Iso calendar |
| Gregorian | The kind of a Gregorian calendar |
| Buddhist | The kind of a Buddhist calendar |
| Japanese | The kind of a Japanese calendar |
| JapaneseExtended | Deprecated, use
|
| Ethiopian | The kind of an Ethiopian calendar, with Amete Mihret era |
| EthiopianAmeteAlem | The kind of an Ethiopian calendar, with Amete Alem era |
| Indian | The kind of a Indian calendar |
| Coptic | The kind of a Coptic calendar |
| Dangi | The kind of a Dangi calendar |
| Chinese | The kind of a Chinese calendar |
| Hebrew | The kind of a Hebrew calendar |
| HijriTabularTypeIIFriday | The kind of a Hijri tabular, type II leap years, Friday epoch, calendar |
| HijriSimulatedMecca | The kind of a Hijri simulated, Mecca calendar |
| HijriTabularTypeIIThursday | The kind of a Hijri tabular, type II leap years, Thursday epoch, calendar |
| HijriUmmAlQura | The kind of a Hijri Umm al-Qura calendar |
| Persian | The kind of a Persian calendar |
| Roc | The kind of a Roc calendar |
|
inline |
|
inlineconstexpr |
|
inlinestatic |
Creates a new CalendarKind for the specified locale, using compiled data.
See the Rust documentation for new for more information.
|
explicitdelete |
|
inlineconstexpr |