1 out of 3 rated this helpful - Rate this topic

System.Globalization Namespace

April 12, 2014

The System.Globalization namespace contains classes that define culture-related information, including the language, the country/region, the calendars in use, the format patterns for dates, currency, and numbers, and the sort order for strings. These classes are useful for writing globalized (internationalized) applications. Classes like StringInfo and TextInfo provide advanced globalization functionalities, such as surrogate support and text element processing.

  ClassDescription
Public classCalendarRepresents time in divisions, such as weeks, months, and years.
Public classCharUnicodeInfoRetrieves information about a Unicode character. This class cannot be inherited.
Public classCompareInfoImplements a set of methods for culture-sensitive string comparisons.
Public classCultureInfoProvides information about a specific culture. The information includes the names for the culture, the writing system, the calendar used, the formatting used for numbers and dates, and the order of sorted strings.
Public classCultureNotFoundExceptionThe exception that is thrown when a method attempts to construct a culture that is not available on the local system.
Public classDateTimeFormatInfoDefines how DateTime values are formatted and displayed, depending on the culture.
Public classGregorianCalendarRepresents the Gregorian calendar.
Public classHebrewCalendarRepresents the Hebrew calendar.
Public classHijriCalendarRepresents the Hijri calendar.
Public classJapaneseCalendarRepresents the Japanese calendar.
Public classKoreanCalendarRepresents the Korean calendar.
Public classNumberFormatInfoDefines how numeric values are formatted and displayed, depending on the culture.
Public classRegionInfoContains information about a country/region.
Public classStringInfoProvides functionality to split a string into text elements and to iterate through those text elements.
Public classTaiwanCalendarthe Taiwan calendar.
Public classTextElementEnumeratorEnumerates the text elements of a string.
Public classTextInfoDefines properties and behaviors, such as casing, that are specific to a writing system.
Public classThaiBuddhistCalendarRepresents the Thai Buddhist calendar.
Public classUmAlQuraCalendarRepresents the Saudi Hijri (Um Al Qura) calendar.
  EnumerationDescription
Public enumerationCalendarWeekRuleDefines different rules for determining the first week of the year.
Public enumerationCompareOptionsDefines the options to use with a number of string comparison methods.
Public enumerationDateTimeStylesDefines the formatting options that customize string parsing for a number of DateTime and DateTimeOffset parsing methods.
Public enumerationGregorianCalendarTypesDefines the different language versions of the Gregorian calendar.
Public enumerationNumberStylesDetermines the styles permitted in numeric string arguments that are passed to the Parse methods of the integral and floating-point numeric types.
Public enumerationTimeSpanStylesDefines the formatting options that customize string parsing for the TimeSpan.ParseExact and TimeSpan.TryParseExact methods.
Public enumerationUnicodeCategoryDefines the Unicode category of a character.

Show:
© 2014 Microsoft. All rights reserved.