Share via


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.

This topic displays the types in the System.Globalization namespace that are included in the .NET for Windows Store apps. Note that the .NET for Windows Store apps does not include all the members of each type. For information about individual types, see the linked topics. The documentation for a type indicates which members are included in the .NET for Windows Store apps.

System.Globalization namespace

Types supported in the .NET for Windows Store apps

Description

Calendar

Represents time in divisions, such as weeks, months, and years.

CalendarWeekRule

Defines different rules for determining the first week of the year.

CharUnicodeInfo

Retrieves information about a Unicode character. This class cannot be inherited.

CompareInfo

Implements a set of methods for culture-sensitive string comparisons.

CompareOptions

Defines the string comparison options to use with CompareInfo.

CultureInfo

Provides 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.

CultureNotFoundException

The exception thrown when a method is invoked which attempts to construct a culture that is not available on the machine.

DateTimeFormatInfo

Defines how System.DateTime values are formatted and displayed, depending on the culture.

DateTimeStyles

Defines the formatting options that customize string parsing for some date and time parsing methods.

NumberFormatInfo

Defines how numeric values are formatted and displayed, depending on the culture.

NumberStyles

Determines the styles permitted in numeric string arguments that are passed to the Parse and TryParse methods of the integral and floating-point numeric types.

RegionInfo

Contains information about the country/region.

StringInfo

Provides functionality to split a string into text elements and to iterate through those text elements.

TextElementEnumerator

Enumerates the text elements of a string.

TextInfo

Defines text properties and behaviors, such as casing, that are specific to a writing system.

TimeSpanStyles

Defines the formatting options that customize string parsing for the ParseExact and TryParseExact methods.

UnicodeCategory

Defines the Unicode category of a character.

See Also

Concepts

.NET for Windows Store apps - supported APIs