datetime

A variable precision datetime value representing an interval in time.

property start

The date and time at the start of this interval, encoded as a string in ISO8601 format.

property end

The date and time at the end of this interval, encoded as a string in ISO8601 format.

property specifiedAsRange

true if this interval was specified as a time range by the user. If false, you can use the start property as an instant in time.

property precision

The precision of the start and end times. Most datetimes will be Day or Minute precision.

"C" Century
"D" Decade
"Y" Year
"M" Month
"d" Day
"h" Hour
"m" Minute

These are the same values as the DateTime precision constants.

property timezone

Optional. If specified, one of the standard time zone names, such as 'GMT' and 'Europe/London'.

property readable

A human readable representation of this variable precision interval in time.