module Time::EpochConverter
Defined in:
http-params-serializable/ext/time/epoch_converter.crClass Method Summary
-
.from_http_param(value : String) : Time
Parse
Time
from an HTTP param as unix timestamp. -
.to_http_param(value : Time, builder : HTTP::Params::Builder, key : String)
Put value as a unix timestamp into the builder at key.
-
.to_http_param(value : Time)
Return value as a unix timestamp string.
Class Method Detail
Parse Time
from an HTTP param as unix timestamp.
Put value as a unix timestamp into the builder at key.