Class AppointmentAvailableDate

    • Constructor Detail

      • AppointmentAvailableDate

        public AppointmentAvailableDate​(LocalDate date,
                                        IAppointmentFreeSlot... times)
        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

        public AppointmentAvailableDate​(LocalDate date,
                                        Iterable<IAppointmentFreeSlot> times)
        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

        public AppointmentAvailableDate​(LocalDate date,
                                        Stream<IAppointmentFreeSlot> times)
        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.