Optional_properties: DateFormatterPropertiesEither a single format, or one of several possible formats that the input is expected to be in. If specified, the input must exactly match. The syntax is the same as for utilities/format/date!DateFormatter.format.
The locale to use when formatting & parsing the number. If not specified, the current locale is used (see locale module).
The default format for formatting dates. See utilities/format/date!DateFormatter.format.
The default format for formatting dates. See utilities/format/date!DateFormatter.format.
The time zone of the date being parsed.
The time zone of the date being formatted.
Protected_getThe property keys and their metadata that are used to implement serializing and deserializing the class instance.
Protected_toConverts the value to a PropertyDef object.
The value to convert.
Sets the properties for this item.
A plain object containing property values to set, keyed by property name.
Sets the properties for this item.
This version will also await any asynchronous logic that is needed to set the properties.
A plain object containing property values to set, keyed by property name.
Formats a date for display.
The date to format.
Formats a date for display.
The format for presenting dates. One of the utilities/format/formats!DateFormat constants, or a custom format string. The format string syntax is similar to https://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx|this, with the following exceptions:
The date to format.
Formats a date for display.
Options that control how the date is formatted.
The date to format.
Gets the default value of an object's property.
The property of the object for which to get the default value.
Gets the object's default property values.
Returns the serializable properties.
Optional. If specified, only properties that support the given serialization mode will be returned.
Parses a value into a Date object. The input is assumed to be in local time, unless it's a timestamp..
The input to parse. Numbers are treated as UNIX timestamps (always assumed to be UTC unless timezone is specified).
A Date object corresponding to the input, which might be an Invalid Date (i.e. getTime() will be NaN).
Parses a value into a Date object. The input is assumed to be in local time, unless it's a timestamp..
See ParseOptions.format.
The input to parse. Numbers are treated as UNIX timestamps (always assumed to be UTC unless timezone is specified).
A Date object corresponding to the input, which might be an Invalid Date (i.e. getTime() will be NaN).
Parses a value into a Date object. The input is assumed to be in local time, unless it's a timestamp.
The options to use for parsing.
The input to parse. Numbers are treated as UNIX timestamps (always assumed to be UTC unless timezone is specified).
A Date object corresponding to the input, which might be an Invalid Date (i.e. getTime() will be NaN).
Parses a value into a Date object. The input is assumed to be in UTC.
The input to parse. Numbers are treated as UNIX timestamps (always assumed to be UTC even if timezone is specified).
A Date object corresponding to the input, which might be an Invalid Date (i.e. getTime() will be NaN).
Parses a value into a Date object. The input is assumed to be in UTC.
See ParseOptions.format.
The input to parse. Numbers are treated as UNIX timestamps (always assumed to be UTC even if timezone is specified).
A Date object corresponding to the input, which might be an Invalid Date (i.e. getTime() will be NaN).
Parses a value into a Date object. The input is assumed to be in UTC.
The options to use for parsing.
The input to parse. Numbers are treated as UNIX timestamps (always assumed to be UTC even if timezone is specified).
A Date object corresponding to the input, which might be an Invalid Date (i.e. getTime() will be NaN).
Returns a serializable representation of the item.
If specified, only properties that are appropriate for the given mode are returned. Otherwise, all properties will be serialized.
A helper class for formatting and parsing dates.