Time class

A class that represents a numeric time. Times that represent a time of day are stored as {@link java.util.Date}s in this API. The time class is used to represent numeric time such as the time in hours, minutes, seconds and milliseconds of a {@link net.sourceforge.zmanim.AstronomicalCalendar#getTemporalHour() temporal hour}.

@author © Eliyahu Hershfeld 2004 - 2011 @version 0.9.0


Time(int hours, int minutes, int seconds, int milliseconds)
Time.millis(double millis)


hashCode int
The hash code for this object. [...]
read-only, inherited
hours int
read / write
milliseconds int
read / write
minutes int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seconds int
read / write


getHours() int
@return Returns the hour.
getMilliseconds() int
@return Returns the milliseconds.
getMinutes() int
@return Returns the minutes.
getSeconds() int
@return Returns the seconds.
getTime() double
isNegative() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
setHours(int hours) → void
@param hours The hours to set.
setIsNegative(bool isNegative) → void
setMilliseconds(int milliseconds) → void
@param milliseconds The milliseconds to set.
setMinutes(int minutes) → void
@param minutes The minutes to set.
setSeconds(int seconds) → void
@param seconds The seconds to set.
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]