public class TimeSlotFactoryImpl extends Object implements TimeSlotFactory
| Constructor and Description |
|---|
TimeSlotFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
TimeSlot |
createTimeSlot(LocalDateTime start,
LocalDateTime end)
Creates a time slot POJO instance.
|
public TimeSlot createTimeSlot(LocalDateTime start, LocalDateTime end)
createTimeSlot in interface TimeSlotFactorystart - the start of the time slot where the condition start <= end
must be trueend - the end of the time slotTimeSlotImplCopyright © 2016 BFH. All rights reserved.