DateTimeFormatInfo Members
The DateTimeFormatInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
DateTimeFormatInfo |
Initializes a new writable instance of the DateTimeFormatInfo class that is culture-independent (invariant).
|
Methods
Name | Description | |
---|---|---|
![]() |
Clone |
Creates a shallow copy of the DateTimeFormatInfo.
|
![]() |
GetAbbreviatedDayName | |
![]() |
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(String) | |
![]() |
GetDayName | |
![]() |
GetFormat | |
![]() |
GetMonthName |
Returns the culture-specific full name of the specified month based on the culture associated with the current DateTimeFormatInfo object.
|
![]() |
GetShortestDayName |
Properties
Name | Description | |
---|---|---|
![]() |
AbbreviatedDayNames |
Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week.
|
![]() |
AbbreviatedMonthGenitiveNames |
Gets or sets a string array of abbreviated month names associated with the current DateTimeFormatInfo object.
|
![]() |
AbbreviatedMonthNames |
Gets or sets a one-dimensional string array that contains the culture-specific abbreviated names of the months.
|
![]() |
AMDesignator |
Gets or sets the string designator for hours that are "ante meridiem" (before noon).
|
![]() ![]() |
CurrentInfo |
Gets a read-only DateTimeFormatInfo object that formats values based on the current culture.
|
![]() |
DateSeparator |
Gets or sets the string that separates the components of a date, that is, the year, month, and day.
|
![]() |
DayNames |
Gets or sets a one-dimensional string array that contains the culture-specific full names of the days of the week.
|
![]() |
FirstDayOfWeek |
Gets or sets the first day of the week.
|
![]() |
FullDateTimePattern |
Gets or sets the custom format string for a long date and long time value.
|
![]() ![]() |
InvariantInfo |
Gets the default read-only DateTimeFormatInfo object that is culture-independent (invariant).
|
![]() |
LongDatePattern |
Gets or sets the custom format string for a long date value.
|
![]() |
LongTimePattern |
Gets or sets the custom format string for a long time value.
|
![]() |
MonthDayPattern |
Gets or sets the custom format string for a month and day value.
|
![]() |
MonthGenitiveNames |
Gets or sets a string array of month names associated with the current DateTimeFormatInfo object.
|
![]() |
MonthNames |
Gets or sets a one-dimensional array of type String containing the culture-specific full names of the months.
|
![]() |
PMDesignator |
Gets or sets the string designator for hours that are "post meridiem" (after noon).
|
![]() |
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.
|
![]() |
RoundtripFormat | |
![]() |
ShortDatePattern |
Gets or sets the custom format string for a short date value.
|
![]() |
ShortestDayNames |
Gets or sets a string array of the shortest unique abbreviated day names associated with the current DateTimeFormatInfo object.
|
![]() |
ShortTimePattern |
Gets or sets the custom format string for a short time value.
|
![]() |
SortableDateTimePattern |
Gets the custom format string for a sortable date and time value.
|
![]() |
TimeSeparator |
Gets or sets the string that separates the components of time, that is, the hour, minutes, and seconds.
|
![]() |
UniversalSortableDateTimePattern |
Gets the custom format string for a universal, sortable date and time string.
|
![]() |
YearMonthPattern |
Gets or sets the custom format string for a year and month value.
|