Time::IsoTimeOpts
Constructors
- DateOnly()
- TimeOnly()
- WithTimeZone()
- ShortForm()
- TwoFields()
- UTC()
Usage
Flags for modifying the output of the isoTime functions.
DateOnly: Return only the date portion of the date and timeTimeOnly: Return only the time portion of the date and time (ignored ifDateOnlyis also specified)WithTimeZone: Include a timezone specification.ShortForm: Compact output by removing date and time delimiters (the delimiter between the date and time parts is kept)TwoFields: Use ' ' rather than 'T' as the delimiter between the date and time portionsUTC: When converting from a Unix timestamp, return the time in the UTC timezone (normally it is returned in the local timezone). When using a Time this flag has no effect.