module Time::Lucky
Included Modules
Extended Modules
Defined in:
avram/charms/time_extensions.crConstant Summary
-
TIME_FORMATS =
[Time::Format::ISO_8601_DATE_TIME, Time::Format::RFC_2822, Time::Format::RFC_3339, Time::Format::HTTP_DATE, Time::Format::ISO_8601_DATE, Time::Format::ISO_8601_TIME]
Class Method Summary
Instance Method Summary
- #from_db!(value : Time)
- #parse(value : String) : SuccessfulCast(Time) | FailedCast
- #parse(value : Time)
- #parse(values : Array(Time))
- #to_db(value : Time)
Instance methods inherited from module Avram::Type
from_db!(value)
from_db!,
parse(value : Nil)parse(values : Array(String)) parse, parse!(value) parse!, to_db(value : Nil) to_db, to_db!(value) to_db!