class TandaCLI::Configuration::Organisation::RegularHoursSchedule
- TandaCLI::Configuration::Organisation::RegularHoursSchedule
- Reference
- Object
Included Modules
- JSON::Serializable
- TandaCLI::Utils::Mixins::PrettyTimes
- TandaCLI::Utils::Mixins::PrettyTimes::PrettyMaybeFinish
- TandaCLI::Utils::Mixins::PrettyTimes::PrettyMaybeStart
Defined in:
tanda_cli/configuration/types/organisation.crConstructors
- .new(day_of_week : Time::DayOfWeek, start_time : String | Time, finish_time : String | Time, breaks : Array(Break) = Array(Break).new, automatic_break_length : UInt16 = 0)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #automatic_break_length : UInt16 | Nil
- #break_length : Time::Span
- #breaks : Array(Break)
- #day_of_week : Time::DayOfWeek
- #finish_time : Time
- #length : Time::Span
- #start_time : Time
- #worked_length : Time::Span
Instance methods inherited from module TandaCLI::Utils::Mixins::PrettyTimes::PrettyMaybeFinish
pretty_finish_time : String | Nil
pretty_finish_time
Instance methods inherited from module TandaCLI::Utils::Mixins::PrettyTimes::PrettyMaybeStart
pretty_start_time : String | Nil
pretty_start_time
Constructor Detail
def self.new(day_of_week : Time::DayOfWeek, start_time : String | Time, finish_time : String | Time, breaks : Array(Break) = Array(Break).new, automatic_break_length : UInt16 = 0)
#