Class RangeSlot


  • public class RangeSlot
    extends java.lang.Object
    Capacity slots represented in a format similar to availability rules.
    • Constructor Summary

      Constructors 
      Constructor Description
      RangeSlot()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RangeSlot capacity​(java.lang.Integer capacity)  
      RangeSlot endDateTime​(org.threeten.bp.OffsetDateTime endDateTime)  
      boolean equals​(java.lang.Object o)  
      java.lang.Integer getCapacity()
      Capacity of the slot.
      org.threeten.bp.OffsetDateTime getEndDateTime()
      End date time of slot in ISO 8601 format with precision of seconds.
      org.threeten.bp.OffsetDateTime getStartDateTime()
      Start date time of slot in ISO 8601 format with precision of seconds.
      int hashCode()  
      void setCapacity​(java.lang.Integer capacity)  
      void setEndDateTime​(org.threeten.bp.OffsetDateTime endDateTime)  
      void setStartDateTime​(org.threeten.bp.OffsetDateTime startDateTime)  
      RangeSlot startDateTime​(org.threeten.bp.OffsetDateTime startDateTime)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RangeSlot

        public RangeSlot()
    • Method Detail

      • startDateTime

        public RangeSlot startDateTime​(org.threeten.bp.OffsetDateTime startDateTime)
      • getStartDateTime

        public org.threeten.bp.OffsetDateTime getStartDateTime()
        Start date time of slot in ISO 8601 format with precision of seconds.
        Returns:
        startDateTime
      • setStartDateTime

        public void setStartDateTime​(org.threeten.bp.OffsetDateTime startDateTime)
      • endDateTime

        public RangeSlot endDateTime​(org.threeten.bp.OffsetDateTime endDateTime)
      • getEndDateTime

        public org.threeten.bp.OffsetDateTime getEndDateTime()
        End date time of slot in ISO 8601 format with precision of seconds.
        Returns:
        endDateTime
      • setEndDateTime

        public void setEndDateTime​(org.threeten.bp.OffsetDateTime endDateTime)
      • capacity

        public RangeSlot capacity​(java.lang.Integer capacity)
      • getCapacity

        public java.lang.Integer getCapacity()
        Capacity of the slot.
        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