This documentation is archived and is not being maintained.
DateTimeFormatInfo Methods
Visual Studio 2010
The DateTimeFormatInfo type exposes the following members.
| Name | Description | |
|---|---|---|
|
Clone | Creates a shallow copy of the DateTimeFormatInfo. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetAbbreviatedDayName | Returns the culture-specific abbreviated name of the specified day of the week based on the culture associated with the current DateTimeFormatInfo object. |
|
GetAbbreviatedEraName | Returns the string containing the abbreviated name of the specified era, if an abbreviation exists. |
|
GetAbbreviatedMonthName | Returns the culture-specific abbreviated name of the specified month based on the culture associated with the current DateTimeFormatInfo object. |
|
GetAllDateTimePatterns() | Returns all the standard patterns in which date and time values can be formatted. |
|
GetAllDateTimePatterns(Char) | Returns all the patterns in which date and time values can be formatted using the specified standard format string. |
|
GetDayName | Returns the culture-specific full name of the specified day of the week based on the culture associated with the current DateTimeFormatInfo object. |
|
GetEra | Returns the integer representing the specified era. |
|
GetEraName | Returns the string containing the name of the specified era. |
|
GetFormat | Returns an object of the specified type that provides a DateTime formatting service. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetInstance | Returns the DateTimeFormatInfo object associated with the specified IFormatProvider. |
|
GetMonthName | Returns the culture-specific full name of the specified month based on the culture associated with the current DateTimeFormatInfo object. |
|
GetShortestDayName | Obtains the shortest abbreviated day name for a specified day of the week associated with the current DateTimeFormatInfo object. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ReadOnly | Returns a read-only DateTimeFormatInfo wrapper. |
|
SetAllDateTimePatterns | Sets the custom date and time format strings that correspond to a specified standard format string. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show: