Class TimeWindow


  • public class TimeWindow
    extends java.lang.Object
    The start and end time that specifies the time interval of an event.
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeWindow()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TimeWindow end​(org.threeten.bp.OffsetDateTime end)  
      boolean equals​(java.lang.Object o)  
      org.threeten.bp.OffsetDateTime getEnd()
      The end time of the time window.
      org.threeten.bp.OffsetDateTime getStart()
      The start time of the time window.
      int hashCode()  
      void setEnd​(org.threeten.bp.OffsetDateTime end)  
      void setStart​(org.threeten.bp.OffsetDateTime start)  
      TimeWindow start​(org.threeten.bp.OffsetDateTime start)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • TimeWindow

        public TimeWindow()
    • Method Detail

      • start

        public TimeWindow start​(org.threeten.bp.OffsetDateTime start)
      • getStart

        public org.threeten.bp.OffsetDateTime getStart()
        The start time of the time window.
        Returns:
        start
      • setStart

        public void setStart​(org.threeten.bp.OffsetDateTime start)
      • end

        public TimeWindow end​(org.threeten.bp.OffsetDateTime end)
      • getEnd

        public org.threeten.bp.OffsetDateTime getEnd()
        The end time of the time window.
        Returns:
        end
      • setEnd

        public void setEnd​(org.threeten.bp.OffsetDateTime end)
      • 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