new DatetimeTransform()
DatetimeTransform defines a transformation on time or dates with timezones
- Source:
Members
(static) format :string
Format indentifier to use when parsing, when not in ISO8601 format Mappings are defined in util/time.js => timeParts.description
- Source:
Type:
-
string
(static) transformedFormat :string
Reformats to a string using the momentjs or postgreSQL format specifiers. This allows a transformation to day of the year, or day of week etc.
- Source:
Type:
-
string
(static) transformedMax :number
The maximum value this facet can take, after the transformation has been applied
- Source:
Type:
-
number
(static) transformedMaxAsText :string
The maximum value this facet can take, after the transformation has been applied
- Source:
Type:
-
string
(static) transformedMin :number
The minium value this facet can take, after the transformation has been applied
- Source:
Type:
-
number
(static) transformedMinAsText :string
The minimum value this facet can take, after the transformation has been applied
- Source:
Type:
-
string
(static) transformedReference :string
Controls conversion to duration by subtracting this date
- Source:
Type:
-
string
(static) transformedType
The type of the facet after the transformation has been applied
- Source:
(static) transformedZone :string
Reference timezone for conversion from datetime to duration
- Source:
Type:
-
string
(static) transformedZone :string
Transform the date to this timezone.
- Source:
Type:
-
string
(static) zone :string
Timezone to use when parsing, for when timezone information is absent or incorrect.
- Source:
Type:
-
string
Methods
(static) transform(momentjs) → {Object}
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
momentjs |
Object
|
Returns:
- Type:
-
Object
momentjs