System.Globalization Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains classes that define culture-related information, including language, country/region, calendars in use, format patterns for dates, currency, and numbers, and sort order for strings. These classes are useful for writing globalized (internationalized) applications. Classes such as StringInfo and TextInfo provide advanced globalization functionalities, including surrogate support and text element processing.
Calendar |
Represents time in divisions, such as weeks, months, and years. |
Char |
Retrieves information about a Unicode character. This class cannot be inherited. |
Chinese |
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. |
Compare |
Implements a set of methods for culture-sensitive string comparisons. |
Culture |
Defines 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 that is running on that computer. This class cannot be inherited. |
Culture |
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, the sort order of strings, and formatting for dates and numbers. |
Culture |
The exception that is thrown when a method attempts to construct a culture that is not available. |
Date |
Provides culture-specific information about the format of date and time values. |
Daylight |
Defines the period of daylight saving time. |
East |
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. |
Globalization |
Provides globalization-related extension methods. |
Gregorian |
Represents the Gregorian calendar. |
Hebrew |
Represents the Hebrew calendar. |
Hijri |
Represents the Hijri calendar. |
Idn |
Supports the use of non-ASCII characters for Internet domain names. This class cannot be inherited. |
ISOWeek |
Provides static members to support the ISO week date that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO). |
Japanese |
Represents the Japanese calendar. |
Japanese |
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. |
Julian |
Represents the Julian calendar. |
Korean |
Represents the Korean calendar. |
Korean |
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. |
Number |
Provides culture-specific information for formatting and parsing numeric values. |
Persian |
Represents the Persian calendar. |
Region |
Contains information about the country/region. |
Sort |
Represents the result of mapping a string to its sort key. |
Sort |
Provides information about the version of Unicode used to compare and order strings. |
String |
Provides functionality to split a string into text elements and to iterate through those text elements. |
Taiwan |
the Taiwan calendar. |
Taiwan |
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. |
Text |
Enumerates the text elements of a string. |
Text |
Defines text properties and behaviors, such as casing, that are specific to a writing system. |
Thai |
Represents the Thai Buddhist calendar. |
Um |
Represents the Saudi Hijri (Um Al Qura) calendar. |
Calendar |
Specifies whether a calendar is solar-based, lunar-based, or lunisolar-based. |
Calendar |
Defines different rules for determining the first week of the year. |
Compare |
Defines the string comparison options to use with CompareInfo. |
Culture |
Specifies constants that define a CultureAndRegionInfoBuilder object. |
Culture |
Defines the types of culture lists that can be retrieved using the GetCultures(CultureTypes) method. |
Date |
Defines the formatting options that customize string parsing for some date and time parsing methods. |
Digit |
Specifies the culture-specific display of digits. |
Gregorian |
Defines the different language versions of the Gregorian calendar. |
Number |
Determines the styles permitted in numeric string arguments that are passed to the |
Time |
Defines the formatting options that customize string parsing for the ParseExact and TryParseExact methods. |
Unicode |
Defines the Unicode category of a character. |
The following blogs include discussions of the System.Globalization namespace and its classes:
Two of the .NET types in this namespace, CultureAndRegionInfoBuilder and CultureAndRegionModifiers, are found in an assembly named sysglobl.dll. To successfully compile code that uses these types, add a reference to sysglobl.dll.
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: