TandaCLI::Models::RegularHoursSchedule
Inherits TandaCLI::Utils::Mixins::PrettyTimes::PrettyMaybeFinish < TandaCLI::Utils::Mixins::PrettyTimes::PrettyMaybeStart < TandaCLI::Utils::Mixins::PrettyTimes < JSON::Serializable < Struct < Value < Object
Constructors
new(day_of_week : Time::DayOfWeek, start_time : Time, finish_time : Time, breaks : Array(Break) = Array(Break).new, automatic_break_length : Time::Span = Time::Span.zero)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
automatic_break_length
Sourcebreak_length
Sourcebreaks
Sourceday_of_week
Sourcefinish_time
Sourcelength
Sourcestart_time
Sourceworked_length
Source