Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Globalization Namespace

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 classChineseLunisolarCalendarRepresents time in divisions, such as months, days, and years. Years are calculated using the Chinese calendar, while days and months are calculated using the lunisolar calendar.
Public classCompareInfoImplements a set of methods for culture-sensitive string comparisons.
Public classCultureAndRegionInfoBuilderDefines a custom culture that is new or based on another culture and country/region. The custom culture can be installed on a computer and subsequently used by any application running on that computer. This class cannot be inherited.
Public classCultureInfoProvides information about a specific culture (called a "locale" for unmanaged code development). The information includes the names for the culture, the writing system, the calendar used, and formatting for dates and sort strings.
Public classDateTimeFormatInfoDefines how DateTime values are formatted and displayed, depending on the culture.
Public classDaylightTimeDefines the period of daylight saving time.
Public classEastAsianLunisolarCalendarRepresents a calendar that divides time into months, days, years, and eras, and has dates that are based on cycles of the sun and the moon.
Public classGregorianCalendarRepresents the Gregorian calendar.
Public classHebrewCalendarRepresents the Hebrew calendar.
Public classHijriCalendarRepresents the Hijri calendar.
Public classIdnMappingSupports the use of non-ASCII characters for Internet domain names. This class cannot be inherited.
Public classJapaneseCalendarRepresents the Japanese calendar.
Public classJapaneseLunisolarCalendarRepresents time in divisions, such as months, days, and years. Years are calculated as for the Japanese calendar, while days and months are calculated using the lunisolar calendar.
Public classJulianCalendarRepresents the Julian calendar.
Public classKoreanCalendarRepresents the Korean calendar.
Public classKoreanLunisolarCalendarRepresents time in divisions, such as months, days, and years. Years are calculated using the Gregorian calendar, while days and months are calculated using the lunisolar calendar.
Public classNumberFormatInfoDefines how numeric values are formatted and displayed, depending on the culture.
Public classPersianCalendarRepresents the Persian calendar.
Public classRegionInfoContains information about the country/region.
Public classSortKeyRepresents the result of mapping a string to its sort key.
Public classStringInfoProvides functionality to split a string into text elements and to iterate through those text elements.
Public classTaiwanCalendarthe Taiwan calendar.
Public classTaiwanLunisolarCalendarRepresents the Taiwan lunisolar calendar. As for the Taiwan calendar, years are calculated using the Gregorian calendar, while days and months are calculated using the lunisolar 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 enumerationCalendarAlgorithmTypeSpecifies whether a calendar is solar-based, lunar-based, or lunisolar-based.
Public enumerationCalendarWeekRuleDefines different rules for determining the first week of the year.
Public enumerationCompareOptionsDefines the string comparison options to use with CompareInfo.
Public enumerationCultureAndRegionModifiersSpecifies constants that define a CultureAndRegionInfoBuilder object.
Public enumerationCultureTypesDefines the types of culture lists that can be retrieved using CultureInfo.GetCultures.
Public enumerationDateTimeStylesDefines the formatting options that customize string parsing for the Parse and ParseExact methods.
Public enumerationDigitShapesSpecifies the culture-specific display of digits.
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 numeric base type classes.
Public enumerationUnicodeCategoryDefines the Unicode category of a character.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft