struct
TandaCLI::Models::TimeRange
- TandaCLI::Models::TimeRange
- Struct
- Value
- Object
Defined in:
tanda_cli/models/time_range.crConstant Summary
-
PATTERN =
/\A(?<start>[^-]+?)\s*-\s*(?<finish>[^-]+)\z/
Constructors
Class Method Summary
Instance Method Summary
- #covers?(other : TimeRange) : Bool
- #finish : TimeOfDay
- #length : Time::Span
- #offset_of(time : TimeOfDay) : Time::Span
- #overnight? : Bool
- #pretty : String
- #start : TimeOfDay
-
#to_s(io : IO) : Nil
Same as
#inspect(io).