System.Globalization
Represents time in divisions, such as weeks, months, and years.
Initializes a new instance of the class.
Returns a that is the specified number of days away from the specified .
The that results from adding the specified number of days to the specified .
The to which to add days.
The number of days to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
Returns a that is the specified number of hours away from the specified .
The that results from adding the specified number of hours to the specified .
The to which to add hours.
The number of hours to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
Returns a that is the specified number of milliseconds away from the specified .
The that results from adding the specified number of milliseconds to the specified .
The to add milliseconds to.
The number of milliseconds to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
Returns a that is the specified number of minutes away from the specified .
The that results from adding the specified number of minutes to the specified .
The to which to add minutes.
The number of minutes to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
When overridden in a derived class, returns a that is the specified number of months away from the specified .
The that results from adding the specified number of months to the specified .
The to which to add months.
The number of months to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
Returns a that is the specified number of seconds away from the specified .
The that results from adding the specified number of seconds to the specified .
The to which to add seconds.
The number of seconds to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
Returns a that is the specified number of weeks away from the specified .
The that results from adding the specified number of weeks to the specified .
The to which to add weeks.
The number of weeks to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
When overridden in a derived class, returns a that is the specified number of years away from the specified .
The that results from adding the specified number of years to the specified .
The to which to add years.
The number of years to add.
The resulting is outside the supported range of this calendar.
is outside the supported range of the return value.
Represents the current era of the current calendar.
When overridden in a derived class, gets the list of eras in the current calendar.
An array of integers that represents the eras in the current calendar.
When overridden in a derived class, returns the day of the month in the specified .
A positive integer that represents the day of the month in the parameter.
The to read.
When overridden in a derived class, returns the day of the week in the specified .
A value that represents the day of the week in the parameter.
The to read.
When overridden in a derived class, returns the day of the year in the specified .
A positive integer that represents the day of the year in the parameter.
The to read.
Returns the number of days in the specified month and year of the current era.
The number of days in the specified month in the specified year in the current era.
An integer that represents the year.
A positive integer that represents the month.
is outside the range supported by the calendar.-or- is outside the range supported by the calendar.
When overridden in a derived class, returns the number of days in the specified month, year, and era.
The number of days in the specified month in the specified year in the specified era.
An integer that represents the year.
A positive integer that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.-or- is outside the range supported by the calendar.-or- is outside the range supported by the calendar.
Returns the number of days in the specified year of the current era.
The number of days in the specified year in the current era.
An integer that represents the year.
is outside the range supported by the calendar.
When overridden in a derived class, returns the number of days in the specified year and era.
The number of days in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.-or- is outside the range supported by the calendar.
When overridden in a derived class, returns the era in the specified .
An integer that represents the era in .
The to read.
Returns the hours value in the specified .
An integer from 0 to 23 that represents the hour in .
The to read.
Calculates the leap month for a specified year and era.
A positive integer that indicates the leap month in the specified year and era.-or-Zero if this calendar does not support a leap month or if the and parameters do not specify a leap year.
A year.
An era.
Returns the milliseconds value in the specified .
A double-precision floating-point number from 0 to 999 that represents the milliseconds in the parameter.
The to read.
Returns the minutes value in the specified .
An integer from 0 to 59 that represents the minutes in .
The to read.
When overridden in a derived class, returns the month in the specified .
A positive integer that represents the month in .
The to read.
Returns the number of months in the specified year in the current era.
The number of months in the specified year in the current era.
An integer that represents the year.
is outside the range supported by the calendar.
When overridden in a derived class, returns the number of months in the specified year in the specified era.
The number of months in the specified year in the specified era.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.-or- is outside the range supported by the calendar.
Returns the seconds value in the specified .
An integer from 0 to 59 that represents the seconds in .
The to read.
Returns the week of the year that includes the date in the specified value.
A positive integer that represents the week of the year that includes the date in the parameter.
A date and time value.
An enumeration value that defines a calendar week.
An enumeration value that represents the first day of the week.
is earlier than or later than .-or- is not a valid value.-or- is not a valid value.
When overridden in a derived class, returns the year in the specified .
An integer that represents the year in .
The to read.
Determines whether the specified date in the current era is a leap day.
true if the specified day is a leap day; otherwise, false.
An integer that represents the year.
A positive integer that represents the month.
A positive integer that represents the day.
is outside the range supported by the calendar.-or- is outside the range supported by the calendar.-or- is outside the range supported by the calendar.
When overridden in a derived class, determines whether the specified date in the specified era is a leap day.
true if the specified day is a leap day; otherwise, false.
An integer that represents the year.
A positive integer that represents the month.
A positive integer that represents the day.
An integer that represents the era.
is outside the range supported by the calendar.-or- is outside the range supported by the calendar.-or- is outside the range supported by the calendar.-or- is outside the range supported by the calendar.
Determines whether the specified month in the specified year in the current era is a leap month.
true if the specified month is a leap month; otherwise, false.
An integer that represents the year.
A positive integer that represents the month.
is outside the range supported by the calendar.-or- is outside the range supported by the calendar.
When overridden in a derived class, determines whether the specified month in the specified year in the specified era is a leap month.
true if the specified month is a leap month; otherwise, false.
An integer that represents the year.
A positive integer that represents the month.
An integer that represents the era.
is outside the range supported by the calendar.-or- is outside the range supported by the calendar.-or- is outside the range supported by the calendar.
Determines whether the specified year in the current era is a leap year.
true if the specified year is a leap year; otherwise, false.
An integer that represents the year.
is outside the range supported by the calendar.
When overridden in a derived class, determines whether the specified year in the specified era is a leap year.
true if the specified year is a leap year; otherwise, false.
An integer that represents the year.
An integer that represents the era.
is outside the range supported by the calendar.-or- is outside the range supported by the calendar.
Gets a value indicating whether this object is read-only.
true if this object is read-only; otherwise, false.
Gets the latest date and time supported by this object.
The latest date and time supported by this calendar. The default is .
Gets the earliest date and time supported by this object.
The earliest date and time supported by this calendar. The default is .
Returns a that is set to the specified date and time in the current era.
The that is set to the specified date and time in the current era.
An integer that represents the year.
A positive integer that represents the month.
A positive integer that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
is outside the range supported by the calendar.-or- is outside the range supported by the calendar.-or- is outside the range supported by the calendar.-or- is less than zero or greater than 23.-or- is less than zero or greater than 59.-or- is less than zero or greater than 59.-or- is less than zero or greater than 999.
When overridden in a derived class, returns a that is set to the specified date and time in the specified era.
The that is set to the specified date and time in the current era.
An integer that represents the year.
A positive integer that represents the month.
A positive integer that represents the day.
An integer from 0 to 23 that represents the hour.
An integer from 0 to 59 that represents the minute.
An integer from 0 to 59 that represents the second.
An integer from 0 to 999 that represents the millisecond.
An integer that represents the era.
is outside the range supported by the calendar.-or- is outside the range supported by the calendar.-or- is outside the range supported by the calendar.-or- is less than zero or greater than 23.-or- is less than zero or greater than 59.-or- is less than zero or greater than 59.-or- is less than zero or greater than 999.-or- is outside the range supported by the calendar.
Converts the specified year to a four-digit year by using the property to determine the appropriate century.
An integer that contains the four-digit representation of .
A two-digit or four-digit integer that represents the year to convert.
is outside the range supported by the calendar.
Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.
The last year of a 100-year range that can be represented by a 2-digit year.
The current object is read-only.
Defines different rules for determining the first week of the year.
Indicates that the first week of the year starts on the first day of the year and ends before the following designated first day of the week. The value is 0.
Indicates that the first week of the year is the first week with four or more days before the designated first day of the week. The value is 2.
Indicates that the first week of the year begins on the first occurrence of the designated first day of the week on or after the first day of the year. The value is 1.
Retrieves information about a Unicode character. This class cannot be inherited.
Gets the numeric value associated with the specified character.
The numeric value associated with the specified character.-or- -1, if the specified character is not a numeric character.
The Unicode character for which to get the numeric value.
Gets the numeric value associated with the character at the specified index of the specified string.
The numeric value associated with the character at the specified index of the specified string.-or- -1, if the character at the specified index of the specified string is not a numeric character.
The containing the Unicode character for which to get the numeric value.
The index of the Unicode character for which to get the numeric value.
is null.
is outside the range of valid indexes in .
Gets the Unicode category of the specified character.
A value indicating the category of the specified character.
The Unicode character for which to get the Unicode category.
Gets the Unicode category of the character at the specified index of the specified string.
A value indicating the category of the character at the specified index of the specified string.
The containing the Unicode character for which to get the Unicode category.
The index of the Unicode character for which to get the Unicode category.
is null.
is outside the range of valid indexes in .
Implements a set of methods for culture-sensitive string comparisons.
Compares a section of one string with a section of another string.
A 32-bit signed integer indicating the lexical relationship between the two comparands.Value Condition zero The two strings are equal. less than zero The specified section of is less than the specified section of . greater than zero The specified section of is greater than the specified section of .
The first string to compare.
The zero-based index of the character in at which to start comparing.
The number of consecutive characters in to compare.
The second string to compare.
The zero-based index of the character in at which to start comparing.
The number of consecutive characters in to compare.
or or or is less than zero.-or- is greater than or equal to the number of characters in .-or- is greater than or equal to the number of characters in .-or- is greater than the number of characters from to the end of .-or- is greater than the number of characters from to the end of .
Compares a section of one string with a section of another string using the specified value.
A 32-bit signed integer indicating the lexical relationship between the two comparands.Value Condition zero The two strings are equal. less than zero The specified section of is less than the specified section of . greater than zero The specified section of is greater than the specified section of .
The first string to compare.
The zero-based index of the character in at which to start comparing.
The number of consecutive characters in to compare.
The second string to compare.
The zero-based index of the character in at which to start comparing.
The number of consecutive characters in to compare.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
or or or is less than zero.-or- is greater than or equal to the number of characters in .-or- is greater than or equal to the number of characters in .-or- is greater than the number of characters from to the end of .-or- is greater than the number of characters from to the end of .
contains an invalid value.
Compares the end section of a string with the end section of another string.
A 32-bit signed integer indicating the lexical relationship between the two comparands.Value Condition zero The two strings are equal. less than zero The specified section of is less than the specified section of . greater than zero The specified section of is greater than the specified section of .
The first string to compare.
The zero-based index of the character in at which to start comparing.
The second string to compare.
The zero-based index of the character in at which to start comparing.
or is less than zero.-or- is greater than or equal to the number of characters in .-or- is greater than or equal to the number of characters in .
Compares the end section of a string with the end section of another string using the specified value.
A 32-bit signed integer indicating the lexical relationship between the two comparands.Value Condition zero The two strings are equal. less than zero The specified section of is less than the specified section of . greater than zero The specified section of is greater than the specified section of .
The first string to compare.
The zero-based index of the character in at which to start comparing.
The second string to compare.
The zero-based index of the character in at which to start comparing.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
or is less than zero.-or- is greater than or equal to the number of characters in .-or- is greater than or equal to the number of characters in .
contains an invalid value.
Compares two strings.
A 32-bit signed integer indicating the lexical relationship between the two comparands.Value Condition zero The two strings are equal. less than zero is less than . greater than zero is greater than .
The first string to compare.
The second string to compare.
Compares two strings using the specified value.
A 32-bit signed integer indicating the lexical relationship between the two comparands.Value Condition zero The two strings are equal. less than zero is less than . greater than zero is greater than .
The first string to compare.
The second string to compare.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
contains an invalid value.
Determines whether the specified object is equal to the current object.
true if the specified object is equal to the current ; otherwise, false.
The object to compare with the current .
Initializes a new object that is associated with the culture with the specified name.
A new object associated with the culture with the specified identifier and using string comparison methods in the current .
A string representing the culture name.
is null.
is an invalid culture name.
Serves as a hash function for the current for hashing algorithms and data structures, such as a hash table.
A hash code for the current .
Gets the hash code for a string based on specified comparison options.
A 32-bit signed integer hash code.
The string whose hash code is to be returned.
A value that determines how strings are compared.
is null.
Searches for the specified character and returns the zero-based index of the first occurrence within the entire source string.
The zero-based index of the first occurrence of , if found, within ; otherwise, -1. Returns 0 (zero) if is an ignorable character.
The string to search.
The character to locate within .
is null.
Searches for the specified character and returns the zero-based index of the first occurrence within the entire source string using the specified value.
The zero-based index of the first occurrence of , if found, within , using the specified comparison options; otherwise, -1. Returns 0 (zero) if is an ignorable character.
The string to search.
The character to locate within .
A value that defines how the strings should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.
contains an invalid value.
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string using the specified value.
The zero-based index of the first occurrence of , if found, within the section of that extends from to the end of , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
The string to search.
The character to locate within .
The zero-based starting index of the search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.
is outside the range of valid indexes for .
contains an invalid value.
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements.
The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by ; otherwise, -1. Returns if is an ignorable character.
The string to search.
The character to locate within .
The zero-based starting index of the search.
The number of elements in the section to search.
is null.
is outside the range of valid indexes for .-or- is less than zero.-or- and do not specify a valid section in .
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements using the specified value.
The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
The string to search.
The character to locate within .
The zero-based starting index of the search.
The number of elements in the section to search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.
is outside the range of valid indexes for .-or- is less than zero.-or- and do not specify a valid section in .
contains an invalid value.
Searches for the specified substring and returns the zero-based index of the first occurrence within the entire source string.
The zero-based index of the first occurrence of , if found, within ; otherwise, -1. Returns 0 (zero) if is an ignorable character.
The string to search.
The string to locate within .
is null.-or- is null.
Searches for the specified substring and returns the zero-based index of the first occurrence within the entire source string using the specified value.
The zero-based index of the first occurrence of , if found, within , using the specified comparison options; otherwise, -1. Returns 0 (zero) if is an ignorable character.
The string to search.
The string to locate within .
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.-or- is null.
contains an invalid value.
Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string using the specified value.
The zero-based index of the first occurrence of , if found, within the section of that extends from to the end of , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
The string to search.
The string to locate within .
The zero-based starting index of the search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.-or- is null.
is outside the range of valid indexes for .
contains an invalid value.
Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements.
The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by ; otherwise, -1. Returns if is an ignorable character.
The string to search.
The string to locate within .
The zero-based starting index of the search.
The number of elements in the section to search.
is null.-or- is null.
is outside the range of valid indexes for .-or- is less than zero.-or- and do not specify a valid section in .
Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements using the specified value.
The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
The string to search.
The string to locate within .
The zero-based starting index of the search.
The number of elements in the section to search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.-or- is null.
is outside the range of valid indexes for .-or- is less than zero.-or- and do not specify a valid section in .
contains an invalid value.
Determines whether the specified source string starts with the specified prefix.
true if the length of is less than or equal to the length of and starts with ; otherwise, false.
The string to search in.
The string to compare with the beginning of .
is null.-or- is null.
Determines whether the specified source string starts with the specified prefix using the specified value.
true if the length of is less than or equal to the length of and starts with ; otherwise, false.
The string to search in.
The string to compare with the beginning of .
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.-or- is null.
contains an invalid value.
Determines whether the specified source string ends with the specified suffix.
true if the length of is less than or equal to the length of and ends with ; otherwise, false.
The string to search in.
The string to compare with the end of .
is null.-or- is null.
Determines whether the specified source string ends with the specified suffix using the specified value.
true if the length of is less than or equal to the length of and ends with ; otherwise, false.
The string to search in.
The string to compare with the end of .
A value that defines how and should be compared. is either the enumeration value used by itself, or the bitwise combination of one or more of the following values: , , , , and .
is null.-or- is null.
contains an invalid value.
Searches for the specified character and returns the zero-based index of the last occurrence within the entire source string.
The zero-based index of the last occurrence of , if found, within ; otherwise, -1.
The string to search.
The character to locate within .
is null.
Searches for the specified character and returns the zero-based index of the last occurrence within the entire source string using the specified value.
The zero-based index of the last occurrence of , if found, within , using the specified comparison options; otherwise, -1.
The string to search.
The character to locate within .
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.
contains an invalid value.
Searches for the specified character and returns the zero-based index of the last occurrence within the section of the source string that extends from the beginning of the string to the specified index using the specified value.
The zero-based index of the last occurrence of , if found, within the section of that extends from the beginning of to , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
The string to search.
The character to locate within .
The zero-based starting index of the backward search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.
is outside the range of valid indexes for .
contains an invalid value.
Searches for the specified character and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index.
The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at ; otherwise, -1. Returns if is an ignorable character.
The string to search.
The character to locate within .
The zero-based starting index of the backward search.
The number of elements in the section to search.
is null.
is outside the range of valid indexes for .-or- is less than zero.-or- and do not specify a valid section in .
Searches for the specified character and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index using the specified value.
The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
The string to search.
The character to locate within .
The zero-based starting index of the backward search.
The number of elements in the section to search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.
is outside the range of valid indexes for .-or- is less than zero.-or- and do not specify a valid section in .
contains an invalid value.
Searches for the specified substring and returns the zero-based index of the last occurrence within the entire source string.
The zero-based index of the last occurrence of , if found, within ; otherwise, -1.
The string to search.
The string to locate within .
is null.-or- is null.
Searches for the specified substring and returns the zero-based index of the last occurrence within the entire source string using the specified value.
The zero-based index of the last occurrence of , if found, within , using the specified comparison options; otherwise, -1.
The string to search.
The string to locate within .
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.-or- is null.
contains an invalid value.
Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that extends from the beginning of the string to the specified index using the specified value.
The zero-based index of the last occurrence of , if found, within the section of that extends from the beginning of to , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
The string to search.
The string to locate within .
The zero-based starting index of the backward search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.-or- is null.
is outside the range of valid indexes for .
contains an invalid value.
Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index.
The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at ; otherwise, -1. Returns if is an ignorable character.
The string to search.
The string to locate within .
The zero-based starting index of the backward search.
The number of elements in the section to search.
is null.-or- is null.
is outside the range of valid indexes for .-or- is less than zero.-or- and do not specify a valid section in .
Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index using the specified value.
The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
The string to search.
The string to locate within .
The zero-based starting index of the backward search.
The number of elements in the section to search.
A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
is null.-or- is null.
is outside the range of valid indexes for .-or- is less than zero.-or- and do not specify a valid section in .
contains an invalid value.
Gets the name of the culture used for sorting operations by this object.
The name of a culture.
Returns a string that represents the current object.
A string that represents the current object.
Defines the string comparison options to use with .
Indicates that the string comparison must ignore case.
Indicates that the string comparison must ignore the Kana type. Kana type refers to Japanese hiragana and katakana characters, which represent phonetic sounds in the Japanese language. Hiragana is used for native Japanese expressions and words, while katakana is used for words borrowed from other languages, such as "computer" or "Internet". A phonetic sound can be expressed in both hiragana and katakana. If this value is selected, the hiragana character for one sound is considered equal to the katakana character for the same sound.
Indicates that the string comparison must ignore nonspacing combining characters, such as diacritics. The Unicode Standard defines combining characters as characters that are combined with base characters to produce a new character. Nonspacing combining characters do not occupy a spacing position by themselves when rendered.
Indicates that the string comparison must ignore symbols, such as white-space characters, punctuation, currency symbols, the percent sign, mathematical symbols, the ampersand, and so on.
Indicates that the string comparison must ignore the character width. For example, Japanese katakana characters can be written as full-width or half-width. If this value is selected, the katakana characters written as full-width are considered equal to the same characters written as half-width.
Indicates the default option settings for string comparisons.
Indicates that the string comparison must use successive Unicode UTF-16 encoded values of the string (code unit by code unit comparison), leading to a fast comparison but one that is culture-insensitive. A string starting with a code unit XXXX16 comes before a string starting with YYYY16, if XXXX16 is less than YYYY16. This value cannot be combined with other values and must be used alone.
String comparison must ignore case, then perform an ordinal comparison. This technique is equivalent to converting the string to uppercase using the invariant culture and then performing an ordinal comparison on the result.
Indicates that the string comparison must use the string sort algorithm. In a string sort, the hyphen and the apostrophe, as well as other nonalphanumeric symbols, come before alphanumeric characters.
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.
Initializes a new instance of the class based on the culture specified by name.
A predefined name, of an existing , or Windows-only culture name. is not case-sensitive.
is null.
is not a valid culture name. For more information, see the Notes to Callers section.
Gets the default calendar used by the culture.
A that represents the default calendar used by the culture.
Creates a copy of the current .
A copy of the current .
Gets the that defines how to compare strings for the culture.
The that defines how to compare strings for the culture.
Gets or sets the object that represents the culture used by the current thread.
An object that represents the culture used by the current thread.
The property is set to null.
Gets or sets the object that represents the current user interface culture used by the Resource Manager to look up culture-specific resources at run time.
The culture used by the Resource Manager to look up culture-specific resources at run time.
The property is set to null.
The property is set to a culture name that cannot be used to locate a resource file. Resource filenames can include only letters, numbers, hyphens, or underscores.
Gets or sets a that defines the culturally appropriate format of displaying dates and times.
A that defines the culturally appropriate format of displaying dates and times.
The property is set to null.
The property or any of the properties is set, and the is read-only.
Gets or sets the default culture for threads in the current application domain.
The default culture for threads in the current application domain, or null if the current system culture is the default thread culture in the application domain.
Gets or sets the default UI culture for threads in the current application domain.
The default UI culture for threads in the current application domain, or null if the current system UI culture is the default thread UI culture in the application domain.
In a set operation, the property value is invalid.
Gets the full localized culture name.
The full localized culture name in the format languagefull [country/regionfull], where languagefull is the full name of the language and country/regionfull is the full name of the country/region.
Gets the culture name in the format languagefull [country/regionfull] in English.
The culture name in the format languagefull [country/regionfull] in English, where languagefull is the full name of the language and country/regionfull is the full name of the country/region.
Determines whether the specified object is the same culture as the current .
true if is the same culture as the current ; otherwise, false.
The object to compare with the current .
Gets an object that defines how to format the specified type.
The value of the property, which is a containing the default number format information for the current , if is the object for the class.-or- The value of the property, which is a containing the default date and time format information for the current , if is the object for the class.-or- null, if is any other object.
The for which to get a formatting object. This method only supports the and types.
Serves as a hash function for the current , suitable for hashing algorithms and data structures, such as a hash table.
A hash code for the current .
Gets the object that is culture-independent (invariant).
The object that is culture-independent (invariant).
Gets a value indicating whether the current represents a neutral culture.
true if the current represents a neutral culture; otherwise, false.
Gets a value indicating whether the current is read-only.
true if the current is read-only; otherwise, false. The default is false.
Gets the culture name in the format languagecode2-country/regioncode2.
The culture name in the format languagecode2-country/regioncode2. languagecode2 is a lowercase two-letter code derived from ISO 639-1. country/regioncode2 is derived from ISO 3166 and usually consists of two uppercase letters, or a BCP-47 language tag.
Gets the culture name, consisting of the language, the country/region, and the optional script, that the culture is set to display.
The culture name. consisting of the full name of the language, the full name of the country/region, and the optional script. The format is discussed in the description of the class.
Gets or sets a that defines the culturally appropriate format of displaying numbers, currency, and percentage.
A that defines the culturally appropriate format of displaying numbers, currency, and percentage.
The property is set to null.
The property or any of the properties is set, and the is read-only.
Gets the list of calendars that can be used by the culture.
An array of type that represents the calendars that can be used by the culture represented by the current .
Gets the that represents the parent culture of the current .
The that represents the parent culture of the current .
Returns a read-only wrapper around the specified object.
A read-only wrapper around .
The object to wrap.
is null.
Gets the that defines the writing system associated with the culture.
The that defines the writing system associated with the culture.
Returns a string containing the name of the current in the format languagecode2-country/regioncode2.
A string containing the name of the current .
Gets the ISO 639-1 two-letter code for the language of the current .
The ISO 639-1 two-letter code for the language of the current .
The exception that is thrown when a method is invoked which attempts to construct a culture that is not available on the machine.
Initializes a new instance of the class with its message string set to a system-supplied message.
Initializes a new instance of the class with the specified error message.
The error message to display with this exception.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message to display with this exception.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
Initializes a new instance of the class with a specified error message and the name of the parameter that is the cause this exception.
The name of the parameter that is the cause of the current exception.
The error message to display with this exception.
Initializes a new instance of the class with a specified error message, the invalid Culture Name, and a reference to the inner exception that is the cause of this exception.
The error message to display with this exception.
The Culture Name that cannot be found.
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
Initializes a new instance of the class with a specified error message, the invalid Culture Name, and the name of the parameter that is the cause this exception.
The name of the parameter that is the cause the current exception.
The Culture Name that cannot be found.
The error message to display with this exception.
Gets the culture name that cannot be found.
The invalid culture name.
Gets the error message that explains the reason for the exception.
A text string describing the details of the exception.
Provides culture-specific information about the format of date and time values.
Initializes a new writable instance of the class that is culture-independent (invariant).
Gets or sets a one-dimensional array of type containing the culture-specific abbreviated names of the days of the week.
A one-dimensional array of type containing the culture-specific abbreviated names of the days of the week. The array for contains "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", and "Sat".
The property is being set to null.
The property is being set to an array that is multidimensional or that has a length that is not exactly 7.
The property is being set and the object is read-only.
Gets or sets a string array of abbreviated month names associated with the current object.
An array of abbreviated month names.
In a set operation, the array is multidimensional or has a length that is not exactly 13.
In a set operation, the array or one of the elements of the array is null.
In a set operation, the current object is read-only.
Gets or sets a one-dimensional string array that contains the culture-specific abbreviated names of the months.
A one-dimensional string array with 13 elements that contains the culture-specific abbreviated names of the months. For 12-month calendars, the 13th element of the array is an empty string. The array for contains "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", and "".
The property is being set to null.
The property is being set to an array that is multidimensional or that has a length that is not exactly 13.
The property is being set and the object is read-only.
Gets or sets the string designator for hours that are "ante meridiem" (before noon).
The string designator for hours that are ante meridiem. The default for is "AM".
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the calendar to use for the current culture.
The calendar to use for the current culture. The default for is a object.
The property is being set to null.
The property is being set to a object that is not valid for the current culture.
The property is being set and the object is read-only.
Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.
A value that determines the first calendar week of the year. The default for is .
The property is being set to a value that is not a valid value.
In a set operation, the current object is read-only.
Creates a shallow copy of the .
A new object copied from the original .
Gets a read-only object that formats values based on the current culture.
A read-only object based on the object for the current thread.
Gets or sets a one-dimensional string array that contains the culture-specific full names of the days of the week.
A one-dimensional string array that contains the culture-specific full names of the days of the week. The array for contains "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", and "Saturday".
The property is being set to null.
The property is being set to an array that is multidimensional or that has a length that is not exactly 7.
The property is being set and the object is read-only.
Gets or sets the first day of the week.
An enumeration value that represents the first day of the week. The default for is .
The property is being set to a value that is not a valid value.
The property is being set and the object is read-only.
Gets or sets the custom format string for a long date and long time value.
The custom format string for a long date and long time value.
The property is being set to null.
The property is being set and the object is read-only.
Returns the culture-specific abbreviated name of the specified day of the week based on the culture associated with the current object.
The culture-specific abbreviated name of the day of the week represented by .
A value.
is not a valid value.
Returns the string containing the abbreviated name of the specified era, if an abbreviation exists.
A string containing the abbreviated name of the specified era, if an abbreviation exists.-or- A string containing the full name of the era, if an abbreviation does not exist.
The integer representing the era.
does not represent a valid era in the calendar specified in the property.
Returns the culture-specific abbreviated name of the specified month based on the culture associated with the current object.
The culture-specific abbreviated name of the month represented by .
An integer from 1 through 13 representing the name of the month to retrieve.
is less than 1 or greater than 13.
Returns the culture-specific full name of the specified day of the week based on the culture associated with the current object.
The culture-specific full name of the day of the week represented by .
A value.
is not a valid value.
Returns the integer representing the specified era.
The integer representing the era, if is valid; otherwise, -1.
The string containing the name of the era.
is null.
Returns the string containing the name of the specified era.
A string containing the name of the era.
The integer representing the era.
does not represent a valid era in the calendar specified in the property.
Returns an object of the specified type that provides a date and time formatting service.
The current object, if is the same as the type of the current ; otherwise, null.
The type of the required formatting service.
Returns the object associated with the specified .
A object associated with .
The that gets the object.-or- null to get .
Returns the culture-specific full name of the specified month based on the culture associated with the current object.
The culture-specific full name of the month represented by .
An integer from 1 through 13 representing the name of the month to retrieve.
is less than 1 or greater than 13.
Gets the default read-only object that is culture-independent (invariant).
A read-only object that is culture-independent (invariant).
Gets a value indicating whether the object is read-only.
true if the object is read-only; otherwise, false.
Gets or sets the custom format string for a long date value.
The custom format string for a long date value.
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the custom format string for a long time value.
The format pattern for a long time value.
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the custom format string for a month and day value.
The custom format string for a month and day value.
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets a string array of month names associated with the current object.
A string array of month names.
In a set operation, the array is multidimensional or has a length that is not exactly 13.
In a set operation, the array or one of its elements is null.
In a set operation, the current object is read-only.
Gets or sets a one-dimensional array of type containing the culture-specific full names of the months.
A one-dimensional array of type containing the culture-specific full names of the months. In a 12-month calendar, the 13th element of the array is an empty string. The array for contains "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", and "".
The property is being set to null.
The property is being set to an array that is multidimensional or that has a length that is not exactly 13.
The property is being set and the object is read-only.
Gets or sets the string designator for hours that are "post meridiem" (after noon).
The string designator for hours that are "post meridiem" (after noon). The default for is "PM".
The property is being set to null.
The property is being set and the object is read-only.
Returns a read-only wrapper.
A read-only wrapper.
The object to wrap.
is null.
Gets the custom format string for a time value that is based on the Internet Engineering Task Force (IETF) Request for Comments (RFC) 1123 specification.
The custom format string for a time value that is based on the IETF RFC 1123 specification.
Gets or sets the custom format string for a short date value.
The custom format string for a short date value.
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets a string array of the shortest unique abbreviated day names associated with the current object.
A string array of day names.
In a set operation, the array does not have exactly seven elements.
In a set operation, the value array or one of the elements of the value array is null.
In a set operation, the current object is read-only.
Gets or sets the custom format string for a short time value.
The custom format string for a short time value.
The property is being set to null.
The property is being set and the object is read-only.
Gets the custom format string for a sortable date and time value.
The custom format string for a sortable date and time value.
Gets the custom format string for a universal, sortable date and time string.
The custom format string for a universal, sortable date and time string.
Gets or sets the custom format string for a year and month value.
The custom format string for a year and month value.
The property is being set to null.
The property is being set and the object is read-only.
Provides culture-specific information for formatting and parsing numeric values.
Initializes a new writable instance of the class that is culture-independent (invariant).
Creates a shallow copy of the object.
A new object copied from the original object.
Gets or sets the number of decimal places to use in currency values.
The number of decimal places to use in currency values. The default for is 2.
The property is being set to a value that is less than 0 or greater than 99.
The property is being set and the object is read-only.
Gets or sets the string to use as the decimal separator in currency values.
The string to use as the decimal separator in currency values. The default for is ".".
The property is being set to null.
The property is being set and the object is read-only.
The property is being set to an empty string.
Gets or sets the string that separates groups of digits to the left of the decimal in currency values.
The string that separates groups of digits to the left of the decimal in currency values. The default for is ",".
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the number of digits in each group to the left of the decimal in currency values.
The number of digits in each group to the left of the decimal in currency values. The default for is a one-dimensional array with only one element, which is set to 3.
The property is being set to null.
The property is being set and the array contains an entry that is less than 0 or greater than 9.-or- The property is being set and the array contains an entry, other than the last entry, that is set to 0.
The property is being set and the object is read-only.
Gets or sets the format pattern for negative currency values.
The format pattern for negative currency values. The default for is 0, which represents "($n)", where "$" is the and is a number.
The property is being set to a value that is less than 0 or greater than 15.
The property is being set and the object is read-only.
Gets or sets the format pattern for positive currency values.
The format pattern for positive currency values. The default for is 0, which represents "$n", where "$" is the and is a number.
The property is being set to a value that is less than 0 or greater than 3.
The property is being set and the object is read-only.
Gets or sets the string to use as the currency symbol.
The string to use as the currency symbol. The default for is "¤".
The property is being set to null.
The property is being set and the object is read-only.
Gets a read-only that formats values based on the current culture.
A read-only based on the culture of the current thread.
Gets an object of the specified type that provides a number formatting service.
The current , if is the same as the type of the current ; otherwise, null.
The of the required formatting service.
Gets the associated with the specified .
The associated with the specified .
The used to get the .-or- null to get .
Gets a read-only object that is culture-independent (invariant).
A read-only object that is culture-independent (invariant).
Gets a value that indicates whether this object is read-only.
true if the is read-only; otherwise, false.
Gets or sets the string that represents the IEEE NaN (not a number) value.
The string that represents the IEEE NaN (not a number) value. The default for is "NaN".
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the string that represents negative infinity.
The string that represents negative infinity. The default for is "-Infinity".
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the string that denotes that the associated number is negative.
The string that denotes that the associated number is negative. The default for is "-".
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the number of decimal places to use in numeric values.
The number of decimal places to use in numeric values. The default for is 2.
The property is being set to a value that is less than 0 or greater than 99.
The property is being set and the object is read-only.
Gets or sets the string to use as the decimal separator in numeric values.
The string to use as the decimal separator in numeric values. The default for is ".".
The property is being set to null.
The property is being set and the object is read-only.
The property is being set to an empty string.
Gets or sets the string that separates groups of digits to the left of the decimal in numeric values.
The string that separates groups of digits to the left of the decimal in numeric values. The default for is ",".
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the number of digits in each group to the left of the decimal in numeric values.
The number of digits in each group to the left of the decimal in numeric values. The default for is a one-dimensional array with only one element, which is set to 3.
The property is being set to null.
The property is being set and the array contains an entry that is less than 0 or greater than 9.-or- The property is being set and the array contains an entry, other than the last entry, that is set to 0.
The property is being set and the object is read-only.
Gets or sets the format pattern for negative numeric values.
The format pattern for negative numeric values.
The property is being set to a value that is less than 0 or greater than 4.
The property is being set and the object is read-only.
Gets or sets the number of decimal places to use in percent values.
The number of decimal places to use in percent values. The default for is 2.
The property is being set to a value that is less than 0 or greater than 99.
The property is being set and the object is read-only.
Gets or sets the string to use as the decimal separator in percent values.
The string to use as the decimal separator in percent values. The default for is ".".
The property is being set to null.
The property is being set and the object is read-only.
The property is being set to an empty string.
Gets or sets the string that separates groups of digits to the left of the decimal in percent values.
The string that separates groups of digits to the left of the decimal in percent values. The default for is ",".
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the number of digits in each group to the left of the decimal in percent values.
The number of digits in each group to the left of the decimal in percent values. The default for is a one-dimensional array with only one element, which is set to 3.
The property is being set to null.
The property is being set and the array contains an entry that is less than 0 or greater than 9.-or- The property is being set and the array contains an entry, other than the last entry, that is set to 0.
The property is being set and the object is read-only.
Gets or sets the format pattern for negative percent values.
The format pattern for negative percent values. The default for is 0, which represents "-n %", where "%" is the and is a number.
The property is being set to a value that is less than 0 or greater than 11.
The property is being set and the object is read-only.
Gets or sets the format pattern for positive percent values.
The format pattern for positive percent values. The default for is 0, which represents "n %", where "%" is the and is a number.
The property is being set to a value that is less than 0 or greater than 3.
The property is being set and the object is read-only.
Gets or sets the string to use as the percent symbol.
The string to use as the percent symbol. The default for is "%".
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the string to use as the per mille symbol.
The string to use as the per mille symbol. The default for is "‰", which is the Unicode character U+2030.
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the string that represents positive infinity.
The string that represents positive infinity. The default for is "Infinity".
The property is being set to null.
The property is being set and the object is read-only.
Gets or sets the string that denotes that the associated number is positive.
The string that denotes that the associated number is positive. The default for is "+".
In a set operation, the value to be assigned is null.
The property is being set and the object is read-only.
Returns a read-only wrapper.
A read-only wrapper around .
The to wrap.
is null.
Contains information about the country/region.
Initializes a new instance of the class based on the country/region or specific culture, specified by name.
A string that contains a two-letter code defined in ISO 3166 for country/region.-or-A string that contains the culture name for a specific culture, custom culture, or Windows-only culture. If the culture name is not in RFC 4646 format, your application should specify the entire culture name instead of just the country/region.
is null.
is not a valid country/region name or specific culture name.
Gets the currency symbol associated with the country/region.
The currency symbol associated with the country/region.
Gets the that represents the country/region used by the current thread.
The that represents the country/region used by the current thread.
Gets the full name of the country/region in the language of the localized version of .NET Framework.
The full name of the country/region in the language of the localized version of .NET Framework.
Gets the full name of the country/region in English.
The full name of the country/region in English.
Determines whether the specified object is the same instance as the current .
true if the parameter is a object and its property is the same as the property of the current object; otherwise, false.
The object to compare with the current .
Serves as a hash function for the current , suitable for hashing algorithms and data structures, such as a hash table.
A hash code for the current .
Gets a value indicating whether the country/region uses the metric system for measurements.
true if the country/region uses the metric system for measurements; otherwise, false.
Gets the three-character ISO 4217 currency symbol associated with the country/region.
The three-character ISO 4217 currency symbol associated with the country/region.
Gets the name or ISO 3166 two-letter country/region code for the current object.
The value specified by the parameter of the constructor. The return value is in uppercase.-or-The two-letter code defined in ISO 3166 for the country/region specified by the parameter of the constructor. The return value is in uppercase.
Gets the name of a country/region formatted in the native language of the country/region.
The native name of the country/region formatted in the language associated with the ISO 3166 country/region code.
Returns a string containing the culture name or ISO 3166 two-letter country/region codes specified for the current .
A string containing the culture name or ISO 3166 two-letter country/region codes defined for the current .
Gets the two-letter code defined in ISO 3166 for the country/region.
The two-letter code defined in ISO 3166 for the country/region.
Provides functionality to split a string into text elements and to iterate through those text elements.
Initializes a new instance of the class.
Initializes a new instance of the class to a specified string.
A string to initialize this object.
is null.
Indicates whether the current object is equal to a specified object.
true if the parameter is a object and its property equals the property of this object; otherwise, false.
An object.
Calculates a hash code for the value of the current object.
A 32-bit signed integer hash code based on the string value of this object.
Gets the first text element in a specified string.
A string containing the first text element in the specified string.
The string from which to get the text element.
is null.
Gets the text element at the specified index of the specified string.
A string containing the text element at the specified index of the specified string.
The string from which to get the text element.
The zero-based index at which the text element starts.
is null.
is outside the range of valid indexes for .
Returns an enumerator that iterates through the text elements of the entire string.
A for the entire string.
The string to iterate through.
is null.
Returns an enumerator that iterates through the text elements of the string, starting at the specified index.
A for the string starting at .
The string to iterate through.
The zero-based index at which to start iterating.
is null.
is outside the range of valid indexes for .
Gets the number of text elements in the current object.
The number of base characters, surrogate pairs, and combining character sequences in this object.
Returns the indexes of each base character, high surrogate, or control character within the specified string.
An array of integers that contains the zero-based indexes of each base character, high surrogate, or control character within the specified string.
The string to search.
is null.
Gets or sets the value of the current object.
The string that is the value of the current object.
The value in a set operation is null.
Enumerates the text elements of a string.
Gets the current text element in the string.
An object containing the current text element in the string.
The enumerator is positioned before the first text element of the string or after the last text element.
Gets the index of the text element that the enumerator is currently positioned over.
The index of the text element that the enumerator is currently positioned over.
The enumerator is positioned before the first text element of the string or after the last text element.
Gets the current text element in the string.
A new string containing the current text element in the string being read.
The enumerator is positioned before the first text element of the string or after the last text element.
Advances the enumerator to the next text element of the string.
true if the enumerator was successfully advanced to the next text element; false if the enumerator has passed the end of the string.
Sets the enumerator to its initial position, which is before the first text element in the string.
Defines text properties and behaviors, such as casing, that are specific to a writing system.
Gets the name of the culture associated with the current object.
The name of a culture.
Determines whether the specified object represents the same writing system as the current object.
true if represents the same writing system as the current ; otherwise, false.
The object to compare with the current .
Serves as a hash function for the current , suitable for hashing algorithms and data structures, such as a hash table.
A hash code for the current .
Gets a value indicating whether the current object is read-only.
true if the current object is read-only; otherwise, false.
Gets a value indicating whether the current object represents a writing system where text flows from right to left.
true if text flows from right to left; otherwise, false.
Gets or sets the string that separates items in a list.
The string that separates items in a list.
The value in a set operation is null.
In a set operation, the current object is read-only.
Converts the specified character to lowercase.
The specified character converted to lowercase.
The character to convert to lowercase.
Converts the specified string to lowercase.
The specified string converted to lowercase.
The string to convert to lowercase.
is null.
Returns a string that represents the current .
A string that represents the current .
Converts the specified character to uppercase.
The specified character converted to uppercase.
The character to convert to uppercase.
Converts the specified string to uppercase.
The specified string converted to uppercase.
The string to convert to uppercase.
is null.
Defines the Unicode category of a character.
Closing character of one of the paired punctuation marks, such as parentheses, square brackets, and braces. Signified by the Unicode designation "Pe" (punctuation, close). The value is 21.
Connector punctuation character that connects two characters. Signified by the Unicode designation "Pc" (punctuation, connector). The value is 18.
Control code character, with a Unicode value of U+007F or in the range U+0000 through U+001F or U+0080 through U+009F. Signified by the Unicode designation "Cc" (other, control). The value is 14.
Currency symbol character. Signified by the Unicode designation "Sc" (symbol, currency). The value is 26.
Dash or hyphen character. Signified by the Unicode designation "Pd" (punctuation, dash). The value is 19.
Decimal digit character, that is, a character in the range 0 through 9. Signified by the Unicode designation "Nd" (number, decimal digit). The value is 8.
Enclosing mark character, which is a nonspacing combining character that surrounds all previous characters up to and including a base character. Signified by the Unicode designation "Me" (mark, enclosing). The value is 7.
Closing or final quotation mark character. Signified by the Unicode designation "Pf" (punctuation, final quote). The value is 23.
Format character that affects the layout of text or the operation of text processes, but is not normally rendered. Signified by the Unicode designation "Cf" (other, format). The value is 15.
Opening or initial quotation mark character. Signified by the Unicode designation "Pi" (punctuation, initial quote). The value is 22.
Number represented by a letter, instead of a decimal digit, for example, the Roman numeral for five, which is "V". The indicator is signified by the Unicode designation "Nl" (number, letter). The value is 9.
Character that is used to separate lines of text. Signified by the Unicode designation "Zl" (separator, line). The value is 12.
Lowercase letter. Signified by the Unicode designation "Ll" (letter, lowercase). The value is 1.
Mathematical symbol character, such as "+" or "= ". Signified by the Unicode designation "Sm" (symbol, math). The value is 25.
Modifier letter character, which is free-standing spacing character that indicates modifications of a preceding letter. Signified by the Unicode designation "Lm" (letter, modifier). The value is 3.
Modifier symbol character, which indicates modifications of surrounding characters. For example, the fraction slash indicates that the number to the left is the numerator and the number to the right is the denominator. The indicator is signified by the Unicode designation "Sk" (symbol, modifier). The value is 27.
Nonspacing character that indicates modifications of a base character. Signified by the Unicode designation "Mn" (mark, nonspacing). The value is 5.
Opening character of one of the paired punctuation marks, such as parentheses, square brackets, and braces. Signified by the Unicode designation "Ps" (punctuation, open). The value is 20.
Letter that is not an uppercase letter, a lowercase letter, a titlecase letter, or a modifier letter. Signified by the Unicode designation "Lo" (letter, other). The value is 4.
Character that is not assigned to any Unicode category. Signified by the Unicode designation "Cn" (other, not assigned). The value is 29.
Number that is neither a decimal digit nor a letter number, for example, the fraction 1/2. The indicator is signified by the Unicode designation "No" (number, other). The value is 10.
Punctuation character that is not a connector, a dash, open punctuation, close punctuation, an initial quote, or a final quote. Signified by the Unicode designation "Po" (punctuation, other). The value is 24.
Symbol character that is not a mathematical symbol, a currency symbol or a modifier symbol. Signified by the Unicode designation "So" (symbol, other). The value is 28.
Character used to separate paragraphs. Signified by the Unicode designation "Zp" (separator, paragraph). The value is 13.
Private-use character, with a Unicode value in the range U+E000 through U+F8FF. Signified by the Unicode designation "Co" (other, private use). The value is 17.
Space character, which has no glyph but is not a control or format character. Signified by the Unicode designation "Zs" (separator, space). The value is 11.
Spacing character that indicates modifications of a base character and affects the width of the glyph for that base character. Signified by the Unicode designation "Mc" (mark, spacing combining). The value is 6.
High surrogate or a low surrogate character. Surrogate code values are in the range U+D800 through U+DFFF. Signified by the Unicode designation "Cs" (other, surrogate). The value is 16.
Titlecase letter. Signified by the Unicode designation "Lt" (letter, titlecase). The value is 2.
Uppercase letter. Signified by the Unicode designation "Lu" (letter, uppercase). The value is 0.