Class AvailabilityRecord


  • public class AvailabilityRecord
    extends java.lang.Object
    `AvailabilityRecord` to represent the capacity of a resource over a time range.
    • Constructor Detail

      • AvailabilityRecord

        public AvailabilityRecord()
    • Method Detail

      • startTime

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

        public org.threeten.bp.OffsetDateTime getStartTime()
        Denotes the time from when the resource is available in a day in ISO-8601 format.
        Returns:
        startTime
      • setStartTime

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

        public org.threeten.bp.OffsetDateTime getEndTime()
        Denotes the time till when the resource is available in a day in ISO-8601 format.
        Returns:
        endTime
      • setEndTime

        public void setEndTime​(org.threeten.bp.OffsetDateTime endTime)
      • getRecurrence

        public Recurrence getRecurrence()
        Get recurrence
        Returns:
        recurrence
      • setRecurrence

        public void setRecurrence​(Recurrence recurrence)
      • getCapacity

        public java.lang.Integer getCapacity()
        Signifies the capacity of a resource which is available. minimum: 1
        Returns:
        capacity
      • setCapacity

        public void setCapacity​(java.lang.Integer capacity)
      • 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