Constructors
Time()
Time(Time)
Time(String)
Methods
toString()
Converts a Time value to its string representation. One of the most frequently used methods, typically when you are going to output something.setHour(Integer)
Overwrites the current time and sets hours to the given number [0-23].setMin(Integer)
Overwrites the current time and sets minutes to the given number [0-59].setSec(Integer)
Overwrites the current time and sets seconds to the given number [0-59].getHour()
Returns the hour portion of the time as an Integer.getMin()
Returns the minutes portion of the time as an Integer.getSec()
Returns the seconds portion of the time as an Integer.isNull()
Returns true if it has no value and false if it does.A NULL/NUL/NIL Time is different from zero, in that it is conceptually without a value.