System::Globalization::Details Namespace Reference

Namespaces

 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  CalendarId {
  CalendarId::UNINITIALIZED_VALUE = 0, CalendarId::GREGORIAN = 1, CalendarId::GREGORIAN_US = 2, CalendarId::JAPAN = 3,
  CalendarId::TAIWAN = 4, CalendarId::KOREA = 5, CalendarId::HIJRI = 6, CalendarId::THAI = 7,
  CalendarId::HEBREW = 8, CalendarId::GREGORIAN_ME_FRENCH = 9, CalendarId::GREGORIAN_ARABIC = 10, CalendarId::GREGORIAN_XLIT_ENGLISH = 11,
  CalendarId::GREGORIAN_XLIT_FRENCH = 12, CalendarId::JULIAN = 13, CalendarId::JAPANESELUNISOLAR = 14, CalendarId::CHINESELUNISOLAR = 15,
  CalendarId::SAKA = 16, CalendarId::LUNAR_ETO_CHN = 17, CalendarId::LUNAR_ETO_KOR = 18, CalendarId::LUNAR_ETO_ROKUYOU = 19,
  CalendarId::KOREANLUNISOLAR = 20, CalendarId::TAIWANLUNISOLAR = 21, CalendarId::PERSIAN = 22, CalendarId::UMALQURA = 23,
  CalendarId::LAST_CALENDAR = 23
}
 Identifiers of known calendars. More...
 
enum  DateTimeFormatFlags : unsigned {
  DateTimeFormatFlags::None = 0, DateTimeFormatFlags::UseGenitiveMonth = 1, DateTimeFormatFlags::UseLeapYearMonth = 2, DateTimeFormatFlags::UseSpacesInMonthNames = 4,
  DateTimeFormatFlags::UseHebrewRule = 8, DateTimeFormatFlags::UseSpacesInDayNames = 16, DateTimeFormatFlags::UseDigitPrefixInTokens = 32
}
 Bit flags, used in parsing/formatting. More...
 

Functions

constexpr bool IsGregorianCalendarId (CalendarId calendar_id)
 
constexpr bool IsValidCalendarId (CalendarId calendar_id)
 

Typedef Documentation

◆ CultureDataPtr

using System::Globalization::Details::CultureDataPtr = typedef std::shared_ptr<CultureData>

Pointer to hold implementation type.

◆ DateTimeFormatDataPtr

using System::Globalization::Details::DateTimeFormatDataPtr = typedef std::shared_ptr<DateTimeFormatData>

Pointer to hold implementation type.

◆ NumberFormatDataPtr

using System::Globalization::Details::NumberFormatDataPtr = typedef std::shared_ptr<NumberFormatData>

Pointer to hold implementation type.

◆ RegionDataPtr

using System::Globalization::Details::RegionDataPtr = typedef std::shared_ptr<RegionData>

Pointer to hold implementation type.

Enumeration Type Documentation

◆ CalendarId

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.

◆ DateTimeFormatFlags

Bit flags, used in parsing/formatting.

Enumerator
None 
UseGenitiveMonth 
UseLeapYearMonth 
UseSpacesInMonthNames 
UseHebrewRule 
UseSpacesInDayNames 
UseDigitPrefixInTokens 

Function Documentation

◆ IsGregorianCalendarId()

constexpr bool System::Globalization::Details::IsGregorianCalendarId ( CalendarId  calendar_id)
inline

◆ IsValidCalendarId()

constexpr bool System::Globalization::Details::IsValidCalendarId ( CalendarId  calendar_id)
inline