struct
TandaCLI::Models::LeaveWindow
- TandaCLI::Models::LeaveWindow
- Struct
- Value
- Object
Overview
A date range the leave API will accept, which caps how many days can be looked up at once
Defined in:
tanda_cli/models/leave_window.crConstant Summary
-
MAX_DAYS =
366
Constructors
- .on(date : Time) : LeaveWindow
- .taken : LeaveWindow
- .this_year : LeaveWindow
- .upcoming : LeaveWindow
Class Method Summary
Instance Method Summary
- #covers?(date : Time) : Bool
- #from : Time
- #to : Time
-
#to_s(io : IO) : Nil
Same as
#inspect(io).