struct TandaCLI::Models::ShiftSummary::WorkedShift

Defined in:

tanda_cli/models/shift_summary/worked_shift.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from(shift : Types::Shift, treat_paid_breaks_as_unpaid : Bool = false, regular_hours_schedules : Array(RegularHoursSchedule) | Nil = nil) : WorkedShift #

[View source]
def self.new(shift : Types::Shift, treat_paid_breaks_as_unpaid : Bool = false, regular_hours_schedules : Array(RegularHoursSchedule) | Nil = nil) #

[View source]

Instance Method Detail

def assumed_finish? : Bool #

[View source]
def date(*args, **options) #

[View source]
def date(*args, **options, &) #

[View source]
def expected_break_length : Time::Span | Nil #

[View source]
def expected_finish_time : Time | Nil #

[View source]
def ongoing? : Bool #

[View source]
def shift : Types::Shift #

[View source]
def shift_representer : Representers::Shift #

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

[View source]