Export (0) Print
Expand All

DateTimeFormatInfo Properties

The DateTimeFormatInfo type exposes the following members.

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework AbbreviatedDayNames Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework AbbreviatedMonthGenitiveNames Gets or sets a string array of abbreviated month names associated with the current DateTimeFormatInfo object.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework AbbreviatedMonthNames Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the months.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework AMDesignator Gets or sets the string designator for hours that are "ante meridiem" (before noon).
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Calendar Gets or sets the calendar to use for the current culture.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CalendarWeekRule Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.
Public property Static member Supported by the .NET Compact Framework Supported by the XNA Framework CurrentInfo Gets a read-only DateTimeFormatInfo object that formats values based on the current culture.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework DateSeparator Gets or sets the string that separates the components of a date, that is, the year, month, and day.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework DayNames Gets or sets a one-dimensional array of type String containing the culture-specific full names of the days of the week.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework FirstDayOfWeek Gets or sets the first day of the week.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework FullDateTimePattern Gets or sets the format pattern for a long date and long time value, which is associated with the "F" format pattern.
Public property Static member Supported by the .NET Compact Framework Supported by the XNA Framework InvariantInfo Gets the default read-only DateTimeFormatInfo that is culture-independent (invariant).
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsReadOnly Gets a value indicating whether the DateTimeFormatInfo object is read-only.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework LongDatePattern Gets or sets the format pattern for a long date value, which is associated with the "D" format pattern.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework LongTimePattern Gets or sets the format pattern for a long time value, which is associated with the "T" format pattern.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework MonthDayPattern Gets or sets the format pattern for a month and day value, which is associated with the "m" and "M" format patterns.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework MonthGenitiveNames Gets or sets a string array of month names associated with the current DateTimeFormatInfo object.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework MonthNames Gets or sets a one-dimensional array of type String containing the culture-specific full names of the months.
Public property NativeCalendarName Gets the native name of the calendar associated with the current DateTimeFormatInfo object.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PMDesignator Gets or sets the string designator for hours that are "post meridiem" (after noon).
Public property Supported by the .NET Compact Framework Supported by the XNA Framework RFC1123Pattern Gets the format pattern for a time value, which is based on the Internet Engineering Task Force (IETF) Request for Comments (RFC) 1123 specification and is associated with the "r" and "R" format patterns.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ShortDatePattern Gets or sets the format pattern for a short date value, which is associated with the "d" format pattern.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ShortestDayNames Gets or sets a string array of the shortest unique abbreviated day names associated with the current DateTimeFormatInfo object.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ShortTimePattern Gets or sets the format pattern for a short time value, which is associated with the "t" format pattern.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework SortableDateTimePattern Gets the format pattern for a sortable date and time value, which is associated with the "s" format pattern.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework TimeSeparator Gets or sets the string that separates the components of time, that is, the hour, minutes, and seconds.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework UniversalSortableDateTimePattern Gets the format pattern for a universal sortable date and time value, which is associated with the "u" format pattern.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework YearMonthPattern Gets or sets the format pattern for a year and month value, which is associated with the "y" and "Y" format patterns.
Top

Community Additions

ADD
Show:
© 2014 Microsoft