Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DateTimeFormatInfo Properties

The DateTimeFormatInfo type exposes the following members.

  Name Description
Public property Supported by the XNA Framework Supported by Portable Class Library 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 XNA Framework Supported by Portable Class Library AbbreviatedMonthGenitiveNames Gets or sets a string array of abbreviated month names associated with the current DateTimeFormatInfo object.
Public property Supported by the XNA Framework Supported by Portable Class Library AbbreviatedMonthNames Gets or sets a one-dimensional string array that contains the culture-specific abbreviated names of the months.
Public property Supported by the XNA Framework Supported by Portable Class Library AMDesignator Gets or sets the string designator for hours that are "ante meridiem" (before noon).
Public property Supported by the XNA Framework Supported by Portable Class Library Calendar Gets or sets the calendar to use for the current culture.
Public property Supported by the XNA Framework Supported by Portable Class Library 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 XNA Framework Supported by Portable Class Library CurrentInfo Gets a read-only DateTimeFormatInfo object that formats values based on the current culture.
Public property 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 XNA Framework Supported by Portable Class Library DayNames Gets or sets a one-dimensional string array that contains the culture-specific full names of the days of the week.
Public property Supported by the XNA Framework Supported by Portable Class Library FirstDayOfWeek Gets or sets the first day of the week.
Public property Supported by the XNA Framework Supported by Portable Class Library FullDateTimePattern Gets or sets the custom format string for a long date and long time value.
Public property Static member Supported by the XNA Framework Supported by Portable Class Library InvariantInfo Gets the default read-only DateTimeFormatInfo object that is culture-independent (invariant).
Public property Supported by the XNA Framework Supported by Portable Class Library IsReadOnly Gets a value indicating whether the DateTimeFormatInfo object is read-only.
Public property Supported by the XNA Framework Supported by Portable Class Library LongDatePattern Gets or sets the custom format string for a long date value.
Public property Supported by the XNA Framework Supported by Portable Class Library LongTimePattern Gets or sets the custom format string for a long time value.
Public property Supported by the XNA Framework Supported by Portable Class Library MonthDayPattern Gets or sets the custom format string for a month and day value.
Public property Supported by the XNA Framework Supported by Portable Class Library MonthGenitiveNames Gets or sets a string array of month names associated with the current DateTimeFormatInfo object.
Public property Supported by the XNA Framework Supported by Portable Class Library 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 XNA Framework Supported by Portable Class Library PMDesignator Gets or sets the string designator for hours that are "post meridiem" (after noon).
Public property Supported by the XNA Framework Supported by Portable Class Library RFC1123Pattern 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.
Public property Supported by the XNA Framework Supported by Portable Class Library ShortDatePattern Gets or sets the custom format string for a short date value.
Public property Supported by the XNA Framework Supported by Portable Class Library 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 XNA Framework Supported by Portable Class Library ShortTimePattern Gets or sets the custom format string for a short time value.
Public property Supported by the XNA Framework Supported by Portable Class Library SortableDateTimePattern Gets the custom format string for a sortable date and time value.
Public property 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 XNA Framework Supported by Portable Class Library UniversalSortableDateTimePattern Gets the custom format string for a universal, sortable date and time string.
Public property Supported by the XNA Framework Supported by Portable Class Library YearMonthPattern Gets or sets the custom format string for a year and month value.
Top
Show:
© 2015 Microsoft