module Time::Format::RFC_2822


The RFC 2822 datetime format.

This is also compatible to RFC 882 and RFC 1123.

Defined in:


Class Method Summary

Class Method Detail

def self.format(time : Time, io : IO) #

Formats a Time into the given io.

[View source]
def self.format(time : Time) : String #

Formats a Time into a String.

[View source]
def self.parse(string, kind = Time::Location::UTC) : Time #

Parses a string into a Time.

[View source]