Uses of Class
appointmentplanner.api.LocalDay
-
Uses of LocalDay in appointmentplanner.api
Methods in appointmentplanner.api that return LocalDayModifier and TypeMethodDescriptionLocalDayPlan.getDay()
LocalDay specifies date and time zone.static LocalDay
LocalDay.now()
Return the LocalDay for the default time zone at the current date.LocalDay.plusDays
(int days) Add x numbers of days to this LocalDay.Methods in appointmentplanner.api with parameters of type LocalDayModifier and TypeMethodDescriptionTimeline.addAppointment
(LocalDay forDay, AppointmentData appointment, TimePreference timePreference) Add a new appointment to this day.Timeline.addAppointment
(LocalDay forDay, AppointmentData appointment, LocalTime startTime) Add appointment with a fixed time.Timeline.addAppointment
(LocalDay forDay, AppointmentData appointment, LocalTime startTime, TimePreference fallback) Add appointment with a fixed time.default Optional<Appointment>
Timeline.addAppointment
(LocalDay forDay, AppointmentRequest appointmentRequest) Create an appointment based on previous appointmentRequest.default TimeSlot
Compute time slot on a date between given start- and endTime.AbstractAPFactory.createLocalDayPlan
(LocalDay day, Instant start, Instant end) Factory method to create a day plan instance.default LocalDayPlan
AbstractAPFactory.createLocalDayPlan
(LocalDay day, LocalTime startTime, LocalTime endTime) Factory method to create a day plan instance.default LocalDate
TimeSlot.getEndDate
(LocalDay day) Return the date of the end of the TimeSlot.default LocalTime
TimeSlot.getEndTime
(LocalDay day) Get End Time of the appointment in the given time zone.default Instant
Get the start time of the intended appointment.default LocalDate
TimeSlot.getStartDate
(LocalDay day) Return the date of the start of the TimeSlot.default LocalTime
TimeSlot.getStartTime
(LocalDay day) Get Start Time of the appointment in given time zone.