module Time::Format::RFC_2822
Overview
The RFC 2822 datetime format.
This is also compatible to RFC 882 and RFC 1123.
Defined in:
time/format/custom/rfc_2822.crClass Method Summary
- .format(time : Time, io : IO)
Formats a
Time
into the given io. - .format(time : Time) : String
- .parse(string, kind = Time::Location::UTC) : Time
Parses a string into a
Time
.
Class Method Detail
© 2012–2021 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.2.1/Time/Format/RFC_2822.html