NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DateTimeFormatInfo Properties

The properties of the DateTimeFormatInfo class are listed below. For a complete list of DateTimeFormatInfo class members, see the DateTimeFormatInfo Members topic.

Public:

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.

See Also

DateTimeFormatInfo Class | System.Globalization Namespace