public class AppointmentAvailableDate extends Object implements IAppointmentAvailableDate
IAppointmentAvailableDate
.Constructor and Description |
---|
AppointmentAvailableDate(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.
|
Modifier and Type | Method and Description |
---|---|
LocalDate |
getDate() |
List<IAppointmentFreeSlot> |
getTimes() |
String |
toString() |
public AppointmentAvailableDate(LocalDate date, IAppointmentFreeSlot... times)
date
- Date to use.times
- Time to use. Modifications to this array do not affect the newly created instance.public AppointmentAvailableDate(LocalDate date, Iterable<IAppointmentFreeSlot> times)
date
- Date to use.times
- Time to use. Modifications to this array do not affect the newly created instance.public AppointmentAvailableDate(LocalDate date, Stream<IAppointmentFreeSlot> times)
date
- Date to use.times
- Time to use. Modifications to this array do not affect the newly created instance.public LocalDate getDate()
getDate
in interface IAppointmentAvailableDate
public List<IAppointmentFreeSlot> getTimes()
getTimes
in interface IAppointmentAvailableDate
IAppointmentAvailableDate.getDate()
.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.