module Jq::Time
Defined in:
jq/jq/time.crConstant Summary
-
MONTH_NAMES =
["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] of ::String
-
SHORT_MONTH_NAMES =
MONTH_NAMES.map(&.[](0..2))
Class Method Summary
-
.now(*args, **options) : ::Time
for backward compatibility
- .parse(year : Int32, month : Int32, day : Int32, hour : Int32 = 0, minute : Int32 = 0, second : Int32 = 0, *args, **opts)
- .parse(value : String, location : ::Time::Location | Nil = nil) : ::Time
- .parse?(value : String, location : ::Time::Location | Nil = nil) : ::Time | Nil
- .utc(*args, **options) : ::Time
Class Method Detail
def self.parse(year : Int32, month : Int32, day : Int32, hour : Int32 = 0, minute : Int32 = 0, second : Int32 = 0, *args, **opts)
#
def self.parse?(value : String, location : ::Time::Location | Nil = nil) : ::Time | Nil
#