This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
DateTimeFormatInfo Members
Public:
Constructor
DateTimeFormatInfo Constructor |
Initializes a new culture-independent instance of the DateTimeFormatInfo class. The instance will be invariant, or culturally-independent. The properties of this DateTimeFormatInfo can be modified, if user-defined formatting is desired. |
Properties
AbbreviatedDayNames |
Retrieves or assigns the abbreviated day names array. The default values are {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}. |
AbbreviatedMonthNames |
Retrieves or assigns the names of the months in their abbreviated form. |
AMDesignator |
Retrieves or assigns the AM designator, with a default value of "AM". |
Calendar |
[To be supplied.] |
CurrentInfo |
Returns a DateTimeFormatInfo object that formats values based on the CultureInfo of the current thread. |
DateSeparator |
Retrieves or assigns the date separator, with a default value of "/". |
DayNames |
Retrieves or assigns the day names array, with the default values of "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday". |
FirstDayOfWeek |
Retrieves or assigns the first day of the week, with a default value of 0. |
FirstWeekOfYear |
Retrieves or assigns the first week of the year. |
FullDateTimePattern |
Holds the pattern associated with the 'F' format character. |
InvariantInfo |
Returns a default DateTimeFormatInfo value that formats values in an invariant, or culturally-independent way. |
IsReadOnly |
Retrieves a value indicating whether the values of this DateTimeFormatInfo object can be modified. |
LongDatePattern |
Retrieves or assigns the pattern associated with the 'D' format character. |
LongTimePattern |
Retrieves or assigns the pattern associated with the 'T' format character. |
MonthDayPattern |
Retrieves or assigns the pattern associated with the 'm' and 'M' format characters. |
MonthNames |
Retrieves or assigns the names of the months. |
PMDesignator |
Retrieves or assigns the PM designator, with a default value of "PM". |
RFC1123Pattern |
Retrieves the pattern associated with the 'r' and 'R' format characters. It represents the RFC standard. [ls3] |
ShortDatePattern |
Retrieves or assigns the pattern associated with the 'd' format character. |
ShortTimePattern |
Retrieves or assigns the pattern associated with the 't' format character. |
SortableDateTimePattern |
Retrieves the associated with the 's' format character. |
TimeSeparator |
Retrieves or assigns the time separator. |
UniversalSortableDateTimePattern |
Retrieves the universal sortable DateTime pattern. |
YearMonthPattern |
Retrieves or assigns the pattern associated with the 'y' and 'Y' format characters. |
Methods
Clone |
Creates a shallow copy of this instance and sets its ReadOnly field to false. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetAbbreviatedDayName |
Overloaded. [To be supplied.] |
GetAbbreviatedMonthName |
Overloaded. [To be supplied.] |
GetAllDateTimePatterns |
Overloaded. [To be supplied.] |
GetDayName |
Overloaded. [To be supplied.] |
GetEra |
[To be supplied.] |
GetEraName |
[To be supplied.] |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetInstance |
Gets the specified DateTimeFormatInfo object. |
GetMonthName |
Overloaded. Returns the name of the month of the year. |
GetServiceObject |
Gets the service object of the specified type. |
GetType (inherited from Object) |
Gets the Type of the Object. |
ReadOnly |
[To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
DateTimeFormatInfo Class | System.Globalization Namespace