class TandaCLI::Configuration::Organisation::RegularHoursSchedule

Included Modules

Defined in:

tanda_cli/configuration/types/organisation.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def automatic_break_length : UInt16 | Nil #

[View source]
def break_length : Time::Span #

[View source]
def breaks : Array(Break) #

[View source]
def day_of_week : Time::DayOfWeek #

[View source]
def finish_time : Time #

[View source]
def length : Time::Span #

[View source]
def start_time : Time #

[View source]
def worked_length : Time::Span #

[View source]