Compartir a través de


DateTimeFormatInfo Members

The following tables list the members exposed by the DateTimeFormatInfo type.

Public Properties

Name Description
Public Property AbbreviatedDayNames Gets a one-dimensional array of String objects that contain the culture-specific abbreviated names of the days of the week.
Public Property AbbreviatedMonthNames Gets a one-dimensional array of String objects that contain the culture-specific abbreviated names of the months.
Public Property AMDesignator Gets the string designator for hours that are "ante meridiem" (before noon).
Public Property Static CurrentInfo Gets a read-only DateTimeFormatInfo object that formats values based on the current culture.
Public Property DateSeparator Gets the string that separates the components of a date (year, month, and day).
Public Property DayNames Gets a one-dimensional array of String objects that contain the culture-specific full names of the days of the week.
Public Property FullDateTimePattern Gets the format pattern for a long date and long time value, which is associated with the "F" format character.
Public Property LongDatePattern Gets the format pattern for a long date value, which is associated with the "D" format character.
Public Property LongTimePattern Gets the format pattern for a long time value, which is associated with the "T" format character.
Public Property MonthDayPattern Gets the format pattern for a month and day value, which is associated with the "m" and "M" format characters.
Public Property MonthNames Gets a one-dimensional array of String objects that contain the culture-specific full names of the months.
Public Property PMDesignator Gets the string designator for hours that are "post meridiem" (after noon).
Public Property ShortDatePattern Gets the format pattern for a short date value, which is associated with the "d" format character.
Public Property ShortTimePattern Gets the format pattern for a short time value, which is associated with the "t" format character.
Public Property TimeSeparator Gets the string that separates the components of time, as expressed on the system clock (hour, minutes, and seconds).
Public Property YearMonthPattern Gets the format pattern for a year and month value, which is associated with the "y" and "Y" format characters.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

See Also

Reference

DateTimeFormatInfo Class
System.Globalization Namespace