class

Hiring::TimeSlot

Inherits Reference < Object

Constants

MAX_DURATION = Time::Span.new(hours: 3)

Constructors

new(start_at : Time, end_at : Time)
new(availability : DTO::TimeSlot)

Class methods

remerge(timeslots : Array(TimeSlot))
split_with(actual, busy) : Tuple(TimeSlot, TimeSlot)

Instance methods

==(availability : TimeSlot)
match?(availability : TimeSlot)
to_dto