Class Time

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    DefaultTime

    public class Time
    extends java.lang.Object
    implements java.io.Serializable
    24 hour clock time
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Time()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.Integer getHours()  
      java.lang.Integer getMinutes()  
      int hashCode()  
      void setHours​(java.lang.Integer hours)  
      void setMinutes​(java.lang.Integer minutes)  
      • Methods inherited from class java.lang.Object

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

      • Time

        public Time()
    • Method Detail

      • getHours

        public java.lang.Integer getHours()
      • setHours

        public void setHours​(java.lang.Integer hours)
      • getMinutes

        public java.lang.Integer getMinutes()
      • setMinutes

        public void setMinutes​(java.lang.Integer minutes)
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object