struct
TandaCLI::Types::Shift
- TandaCLI::Types::Shift
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- TandaCLI::Utils::Mixins::PrettyTimes
- TandaCLI::Utils::Mixins::PrettyTimes::PrettyDate
- TandaCLI::Utils::Mixins::PrettyTimes::PrettyMaybeFinish
- TandaCLI::Utils::Mixins::PrettyTimes::PrettyMaybeStart
Defined in:
tanda_cli/types/shift.crConstructors
Instance Method Summary
- #_nilable_notes : Array(Types::Note) | Nil
- #breaks : Array(ShiftBreak)
- #date : Time
- #day_of_week : Time::DayOfWeek
- #finish_time : Time | Nil
- #id : Int32
- #leave? : Bool
- #leave_request_id : Int32 | Nil
- #notes : Array(Types::Note)
- #ongoing? : Bool
- #ongoing_break? : Bool
- #ongoing_without_break? : Bool
- #start_time : Time | Nil
- #status : Status
- #time_worked(treat_paid_breaks_as_unpaid : Bool) : Time::Span | Nil
- #user_id : Int32
- #valid_breaks : Array(ShiftBreak)
- #visible? : Bool
- #worked_so_far(treat_paid_breaks_as_unpaid : Bool) : Time::Span | Nil