Package de.xima.fc.appointment
Class AppointmentAvailableDate
java.lang.Object
de.xima.fc.appointment.AppointmentAvailableDate
- All Implemented Interfaces:
IAppointmentAvailableDate
,Serializable
Implementation of a
IAppointmentAvailableDate
.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAppointmentAvailableDate
(LocalDate date, IAppointmentFreeSlot... times) Creates a new free slot for the given date and times.AppointmentAvailableDate
(LocalDate date, Iterable<IAppointmentFreeSlot> times) Creates a new free slot for the given date and times.AppointmentAvailableDate
(LocalDate date, Stream<IAppointmentFreeSlot> times) Creates a new free slot for the given date and times. -
Method Summary
-
Constructor Details
-
AppointmentAvailableDate
Creates a new free slot for the given date and times.- Parameters:
date
- Date to use.times
- Time to use. Modifications to this array do not affect the newly created instance.
-
AppointmentAvailableDate
Creates a new free slot for the given date and times.- Parameters:
date
- Date to use.times
- Time to use. Modifications to this array do not affect the newly created instance.
-
AppointmentAvailableDate
Creates a new free slot for the given date and times.- Parameters:
date
- Date to use.times
- Time to use. Modifications to this array do not affect the newly created instance.
-
-
Method Details
-
getDate
- Specified by:
getDate
in interfaceIAppointmentAvailableDate
- Returns:
- The start date of the free slot.
-
getTimes
- Specified by:
getTimes
in interfaceIAppointmentAvailableDate
- Returns:
- A list of times that are free on this
IAppointmentAvailableDate.getDate()
.
-
toString
-