System.Globalization namespace for UWP apps
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 .NET for UWP apps. Note that .NET for UWP 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 .NET for UWP apps.
Types supported in .NET for UWP apps | Description |
|---|---|
Represents time in divisions, such as weeks, months, and years. | |
Defines different rules for determining the first week of the year. | |
Retrieves information about a Unicode character. This class cannot be inherited. | |
Represents 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. | |
Implements a set of methods for culture-sensitive string comparisons. | |
Defines the string comparison options to use with CompareInfo. | |
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. | |
The exception thrown when a method is invoked which attempts to construct a culture that is not available on the machine. | |
Defines how System.DateTime values are formatted and displayed, depending on the culture. | |
Defines the formatting options that customize string parsing for some date and time parsing methods. | |
Represents 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. | |
T:System.Globalization.GlobalizationExtensions | For more information, see T:System.Globalization.GlobalizationExtensions. |
Represents the Gregorian calendar. | |
Defines the different language versions of the Gregorian calendar. | |
Represents the Hebrew calendar. | |
Represents the Hijri calendar. | |
Supports the use of non-ASCII characters for Internet domain names. This class cannot be inherited. | |
Represents the Japanese calendar. | |
Represents 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. | |
Represents the Julian calendar. | |
Represents the Korean calendar. | |
Represents 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. | |
Defines how numeric values are formatted and displayed, depending on the culture. | |
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. | |
Represents the Persian calendar. | |
Contains information about the country/region. | |
Provides functionality to split a string into text elements and to iterate through those text elements. | |
the Taiwan calendar. | |
Represents 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. | |
Enumerates the text elements of a string. | |
Defines text properties and behaviors, such as casing, that are specific to a writing system. | |
Represents the Thai Buddhist calendar. | |
Defines the formatting options that customize string parsing for the ParseExact and TryParseExact methods. | |
Represents the Saudi Hijri (Um Al Qura) calendar. | |
Defines the Unicode category of a character. |