Date

Date

new Date(elem)

Creates XTL date instance.
Parameters:
Name Type Description
elem DOMElement The element.

Members

$dom :jQuery

The DOM element of component.
Type:

(nullable) format :string

The ICU formatting string.
Type:

(nullable) maxDate :string

The maximum selectable date. When set to null, there is no maximum http://api.jqueryui.com/datepicker/#option-maxDate
Type:

(nullable) minDate :string

The minimum selectable date. When set to null, there is no minimum. http://api.jqueryui.com/datepicker/#option-minDate
Type:

Methods

(static) convert(icu) → {string}

Converts ICU formatting to datepicker formatting string.
Parameters:
Name Type Description
icu string The ICU formatting string.
Returns:
The datepicker formatting string.
Type
string

(static) init(elem)

Initializes component.
Parameters:
Name Type Description
elem DOMElement The element.

(static) libinit()

One-time static initialization.