module Time::Format::ISO_8601_DATE_TIME
Overview
The ISO 8601 date time format.
Defined in:
time/format/custom/iso_8601.crClass Method Summary
- .format(time : Time, io : IO)
Formats a
Time
into the given io. - .format(time : Time) : String
- .parse(string, location : Time::Location? = Time::Location::UTC) : Time
Parses a string into a
Time
.
Class Method Detail
def self.parse(string, location : Time::Location? = Time::Location::UTC) : TimeSource
Parses a string into a Time
.
© 2012–2021 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.2.1/Time/Format/ISO_8601_DATE_TIME.html