Search
DateSettings Members
Constructors Properties Methods
 


Defines properties that allow customization of date-specific information.

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

 Public Constructors

  Name Description

DateSettings

Initializes a new instance of the DateSettings class.

 Public Properties

  Name Description

dateFormats

Gets the DateFormats object used to hold date and time format strings.

dateSeparator

Gets or sets the date separator character.

dayPeriodAM

Gets or sets the before noon time designator.

dayPeriodPM

Gets or sets the after noon time designator.

dayPeriods

Gets an object containing the time designators.

days

Gets an object containing lists of day names.

firstDayOfWeek

Gets or sets a value indicating the first day of the week to use.

longDays

Gets or sets a list of long day names.

longMonths

Gets or sets a list of long month names.

months

Gets an object containing lists of month names.

narrowDays

Gets or sets a list of narrow day names.

narrowMonths

Gets or sets a list of narrow month names.

shortDays

Gets or sets a list of short month names.

shortMonths

Gets or sets a list of short month names.

timeSeparator

Gets or sets the time separator character.

 Public Methods

  Name Description

fromJson

Deserializes the settings from a JSON string.

 See Also