Class TimeWindow

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TimeWindow>

    public class TimeWindow
    extends java.lang.Object
    implements java.lang.Comparable<TimeWindow>, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • TimeWindow

        public TimeWindow​(java.sql.Timestamp startTime,
                          java.sql.Timestamp endTime,
                          java.lang.String info)
    • Method Detail

      • newTimeWindow

        public static TimeWindow newTimeWindow​(java.sql.Timestamp startTime,
                                               java.sql.Timestamp endTime)
      • newTimeWindow

        public static TimeWindow newTimeWindow​(java.sql.Timestamp startTime,
                                               java.sql.Timestamp endTime,
                                               java.lang.String info)
      • compareTo

        public int compareTo​(TimeWindow tw)
        Specified by:
        compareTo in interface java.lang.Comparable<TimeWindow>
      • getStartTime

        public java.sql.Timestamp getStartTime()
      • getEndTime

        public java.sql.Timestamp getEndTime()
      • getInfo

        public java.lang.String getInfo()
      • setStartTime

        public void setStartTime​(java.sql.Timestamp startTime)
      • setEndTime

        public void setEndTime​(java.sql.Timestamp endTime)
      • setInfo

        public void setInfo​(java.lang.String info)
      • equals

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

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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