Class AppointmentTime


  • public class AppointmentTime
    extends java.lang.Object
    The time of the appointment window.
    • Constructor Detail

      • AppointmentTime

        public AppointmentTime()
    • Method Detail

      • startTime

        public AppointmentTime startTime​(org.threeten.bp.OffsetDateTime startTime)
      • getStartTime

        public org.threeten.bp.OffsetDateTime getStartTime()
        The date and time of the start of the appointment window in ISO 8601 format.
        Returns:
        startTime
      • setStartTime

        public void setStartTime​(org.threeten.bp.OffsetDateTime startTime)
      • durationInMinutes

        public AppointmentTime durationInMinutes​(java.lang.Integer durationInMinutes)
      • getDurationInMinutes

        public java.lang.Integer getDurationInMinutes()
        The duration of the appointment window, in minutes. minimum: 1
        Returns:
        durationInMinutes
      • setDurationInMinutes

        public void setDurationInMinutes​(java.lang.Integer durationInMinutes)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object