module Time::Format::HTTP_DATE

Defined in:

time/format/custom/http_date.cr

Class Method Summary

Class Method Detail

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

Formats a Time into the given io.

time is always converted to UTC.


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

Formats a Time into a String.

time is always converted to UTC.


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

Parses a string into a Time.


[View source]