struct
TandaCLI::Models::ClockInDay
- TandaCLI::Models::ClockInDay
- Struct
- Value
- Object
Overview
A day given on the command line, which can only become a date once the configured start of the week is known
Defined in:
tanda_cli/models/clock_in_day.crConstant Summary
-
SHORTEST_DAY_NAME =
3
Class Method Summary
- .parse(input : String) : ClockInDay | Error::Base
- .parse_day_of_week(input : String) : Time::DayOfWeek | Nil
Instance Method Summary
- #on(start_of_week : Time::DayOfWeek) : Time
- #on_or_before_today(start_of_week : Time::DayOfWeek) : Time | Error::FutureDate