Optional_properties: TimeFormatterPropertiesEither 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/time!TimeFormatter.format.
The locale to use when formatting & parsing the time. If not specified, the current locale is used (see locale module).
The default format for formatting times. See utilities/format/time!TimeFormatter.format.
The default format for formatting times. See utilities/format/time!TimeFormatter.format.
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 time for display.
The time to format.
Formats a time for display.
The format for presenting times. One of the utilities/format/formats!TimeFormat constants, or a custom format string. The format string syntax is similar to https://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx, with the following exceptions:
The time to format.
Formats a time for display.
Options that control how the time is formatted.
The time 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 Time object.
The input to parse.
A Time object corresponding to the input. If unable to parse successfully, will return an invalid Time.
Parses a value into a Time object.
See ParseOptions.format.
The input to parse.
A Time object corresponding to the input. If unable to parse successfully, will return an invalid Time.
Parses a value into a Time object.
The options to use for parsing.
The input to parse.
A Time object corresponding to the input. If unable to parse successfully, will return an invalid Time.
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 times.