class Hiring::Rooms::TimeSlot

Defined in:

model/hiring/rooms/time_slot.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(start_at : Time, end_at : Time) #

[View source]
def self.new(availability : DTO::TimeSlot) #

[View source]

Class Method Detail

def self.remerge(timeslots : Array(TimeSlot)) #

[View source]
def self.split_with(actual, busy) : Tuple(TimeSlot, TimeSlot) #

[View source]

Instance Method Detail

def ==(availability : TimeSlot) #

[View source]
def match?(availability : TimeSlot) #

[View source]
def to_dto #

[View source]