public class AppointmentFreeSlot extends Object implements IAppointmentFreeSlot
IAppointmentFreeSlot.| Constructor and Description |
|---|
AppointmentFreeSlot(LocalTime startTime,
LocalDateTime endDateTime,
long capacity,
String id)
Creates a new
IAppointmentFreeSlot POJO with the given data. |
| Modifier and Type | Method and Description |
|---|---|
long |
getCapacity() |
LocalDateTime |
getEndTime() |
String |
getId() |
LocalTime |
getStartTime() |
String |
toString() |
public AppointmentFreeSlot(LocalTime startTime, LocalDateTime endDateTime, long capacity, String id)
IAppointmentFreeSlot POJO with the given data.startTime - Start time of this slot.endDateTime - End date time of this slot. May be on a different day.capacity - Capacity of the slot.id - ID of the slot.public long getCapacity()
getCapacity in interface IAppointmentFreeSlotpublic LocalDateTime getEndTime()
getEndTime in interface IAppointmentFreeSlotpublic String getId()
getId in interface IAppointmentFreeSlotpublic LocalTime getStartTime()
getStartTime in interface IAppointmentFreeSlotIAppointmentAvailableDate.getDate().Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.