Search
DateTimeInfo Members
Constructors Methods
 


Defines various date and time properties depending on a locale.

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

 Public Constructors

  Name Description

DateTimeInfo

Initializes a new instance of the DateTimeInfo class.

 Public Methods

  Name Description

getAbbreviatedDayName

Gets the abbreviated name of the specified day of the week.

getAbbreviatedDayNames

Gets the abbreviated names of the days of the week.

getAbbreviatedMonthNames

Gets the abbreviated names of the months.

getAMDesignator

Gets the string designator for hours that are "ante meridiem" (before noon).

getDayName

Gets the name of the specified day of the week.

getDayNames

Gets the full names of the days of the week.

getFirstDayOfWeek

Gets the first day of the week.

getFirstWeekendDay

Gets the first weekend day.

getLocale

Gets the underlying Locale.

getMonthNames

Gets the full names of the months.

getPMDesignator

Gets the string designator for hours that are "post meridiem" (before noon).

getSecondWeekendDay

Gets the second weekend day.

getWeekOfYear

Gets the week of the year for the specified date.

isWeekend

Gets a value indicating whether the specified day of the week is a weekend day.

setFirstDayOfWeek

Sets the first day of the week.

setFirstWeekendDay

Sets the first weekend day.

 See Also