JavaScript

A5.ddate Namespace

Description

The namespace for date defaults.

Name
Description
A5.d.date.calendar Namespace

The namespace for calendar date defaults. Used by Date.toCalendar.

A5.d.date.quarter Namespace

The namespace for date quarter defaults.

A5.d.date.relative Namespace

The namespace for relative date defaults. Used by Date.toRelative.

Properties

formatstring

The default date format to use when no other format is provided. See Date.toFormat.

daysarray

The default full day names to use (the week starts with Sunday). Names should be in lower-case as the date format will handle capitalization.

daysShortarray

The default shortened day names to use (the week starts with Sunday). The default is shortened to the first three letters of each day ("sun", "mon", "tue", "wed", "thu", "fri" and "sat"). Names should be in lower-case as the date format will handle capitalization.

daysMinimalarray

The default minimal day names to use (the week starts with Sunday). The default is the first three letter of each day ("s", "m", "t", "w", "t", "f" and "s"). Names should be in lower-case as the date format will handle capitalization.

monthsarray

The default full month names to use. Names should be in lower-case as the date format will handle capitalization.

monthsShortarray

The default shortened month names to use. Names should be in lower-case as the date format will handle capitalization.

Any properties or methods in this namespace can be replaced in order to support other languages or formats.