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 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)
 
 DECLARE_ENUM_OPERATORS (System::Globalization::Details::DateTimeFormatFlags)
 Declaration of template arithmetic operators for values of the DateTimeFormatFlags enum type. More...
 

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

◆ DECLARE_ENUM_OPERATORS()

System::Globalization::Details::DECLARE_ENUM_OPERATORS ( System::Globalization::Details::DateTimeFormatFlags  )

Declaration of template arithmetic operators for values of the DateTimeFormatFlags enum type.

◆ IsGregorianCalendarId()

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

◆ IsValidCalendarId()

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