class TandaCLI::Types::ShiftBreak

Included Modules

Defined in:

tanda_cli/types/shift_break.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(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def finish_time : Time | Nil #

[View source]
def id : Int32 #

[View source]
def length : UInt16 #

[View source]
def ongoing? : Bool #

[View source]
def ongoing_length : UInt16 #

[View source]
def paid? : Bool #

[View source]
def pretty_ongoing_length : String #

[View source]
def shift_id : Int32 #

[View source]
def start_time : Time | Nil #

[View source]
def valid? : Bool #

[View source]