|
CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
|
Namespaces | |
| namespace | DateTimeTokenization |
Classes | |
| class | GregorianCalendarUtils |
| Gregorian calendar utility functions. More... | |
Typedefs | |
| using | CultureDataPtr = std::shared_ptr< CultureData > |
| Pointer to hold implementation type. More... | |
| using | DateTimeFormatDataPtr = std::shared_ptr< DateTimeFormatData > |
| Pointer to hold implementation type. More... | |
| using | NumberFormatDataPtr = std::shared_ptr< NumberFormatData > |
| Pointer to hold implementation type. More... | |
| using | RegionDataPtr = std::shared_ptr< RegionData > |
| Pointer to hold implementation type. More... | |
Enumerations | |
| enum class | CalendarId { UNINITIALIZED_VALUE = 0 , GREGORIAN = 1 , GREGORIAN_US = 2 , JAPAN = 3 , TAIWAN = 4 , KOREA = 5 , HIJRI = 6 , THAI = 7 , HEBREW = 8 , GREGORIAN_ME_FRENCH = 9 , GREGORIAN_ARABIC = 10 , GREGORIAN_XLIT_ENGLISH = 11 , GREGORIAN_XLIT_FRENCH = 12 , JULIAN = 13 , JAPANESELUNISOLAR = 14 , CHINESELUNISOLAR = 15 , SAKA = 16 , LUNAR_ETO_CHN = 17 , LUNAR_ETO_KOR = 18 , LUNAR_ETO_ROKUYOU = 19 , KOREANLUNISOLAR = 20 , TAIWANLUNISOLAR = 21 , PERSIAN = 22 , UMALQURA = 23 , LAST_CALENDAR = 23 } |
| Identifiers of known calendars. More... | |
| enum class | DateTimeFormatFlags : unsigned { None = 0 , UseGenitiveMonth = 1 , UseLeapYearMonth = 2 , UseSpacesInMonthNames = 4 , UseHebrewRule = 8 , UseSpacesInDayNames = 16 , UseDigitPrefixInTokens = 32 } |
| Bit flags, used in parsing/formatting. More... | |
Functions | |
| constexpr bool | IsGregorianCalendarId (CalendarId calendar_id) |
| constexpr bool | IsValidCalendarId (CalendarId calendar_id) |
| using System::Globalization::Details::CultureDataPtr = typedef std::shared_ptr<CultureData> |
Pointer to hold implementation type.
| using System::Globalization::Details::DateTimeFormatDataPtr = typedef std::shared_ptr<DateTimeFormatData> |
Pointer to hold implementation type.
| using System::Globalization::Details::NumberFormatDataPtr = typedef std::shared_ptr<NumberFormatData> |
Pointer to hold implementation type.
| using System::Globalization::Details::RegionDataPtr = typedef std::shared_ptr<RegionData> |
Pointer to hold implementation type.
|
strong |
Identifiers of known calendars.
| Enumerator | |
|---|---|
| UNINITIALIZED_VALUE | No calendar. |
| GREGORIAN | Localized gregorian calendar. |
| GREGORIAN_US | US gregorian calendar. |
| JAPAN | Japanese calendar. |
| TAIWAN | Taiwanian calendar. |
| KOREA | Korean calendar. |
| HIJRI | Arabic lunar calendar. |
| THAI | Thai calendar. |
| HEBREW | Hebrew calendar. |
| GREGORIAN_ME_FRENCH | Gregorian Middle East French calendar. |
| GREGORIAN_ARABIC | Gregorian Arabic calendar. |
| GREGORIAN_XLIT_ENGLISH | Gregorian transliterated English calendar. |
| GREGORIAN_XLIT_FRENCH | Gregorian transliterated French calendar. |
| JULIAN | Julian calendar. |
| JAPANESELUNISOLAR | Japanese lunar-solar calendar. |
| CHINESELUNISOLAR | Chinese lunar-solar calendar. |
| SAKA | Reserved. |
| LUNAR_ETO_CHN | Reserved. |
| LUNAR_ETO_KOR | Reserved. |
| LUNAR_ETO_ROKUYOU | Reserved. |
| KOREANLUNISOLAR | Korean lunar-solar calendar. |
| TAIWANLUNISOLAR | Taiwanian lunar-solar calendar. |
| PERSIAN | Persian calendar. |
| UMALQURA | Umalqura calendar. |
| LAST_CALENDAR | Calendar ID limit. |
|
strong |
|
inlineconstexpr |
|
inlineconstexpr |