Time.IsoTimeOpts(3kaya)
NAME
Time::IsoTimeOpts - Flags for the isoTime function
SYNOPSIS
Time::IsoTimeOpts< > = DateOnly() | TimeOnly() | WithTimeZone() | ShortForm() | TwoFields() | UTC()
DESCRIPTION
- Flags for modifying the output of the Time.isoTime (3kaya) functions.
- - DateOnly : Return only the date portion of the date and time
- - TimeOnly : Return only the time portion of the date and time (ignored if DateOnly is 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 portions
- - UTC : 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.Time (3kaya) this flag has no effect.
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others
(kaya@kayalang.org). For further information see http://kayalang.org/
LICENSE
- The Kaya standard library is free software; you can redistribute it
and/or modify it under the terms of the GNU Lesser General Public
License (version 2.1 or any later version) as published by the Free
Software Foundation.