Package fr.ifremer.isisfish.types
Class TimeUnit
java.lang.Object
fr.ifremer.isisfish.types.TimeUnit
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TimeUnit>
TimeUnit.java
Created: 20 janv. 2006 03:03:15
- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- poussin
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
protected double
le temps en seconde -
Constructor Summary
-
Method Summary
-
Field Details
-
HOUR_PER_DAY
public static final double HOUR_PER_DAY- See Also:
-
time
protected double timele temps en seconde
-
-
Constructor Details
-
TimeUnit
public TimeUnit(double time) - Parameters:
time
- le temps en seconde
-
-
Method Details
-
getTime
public double getTime()- Returns:
- Returns the time in second
-
setTime
- Parameters:
time
- The time to set in second
-
getHour
public double getHour() -
setHour
-
getDay
public double getDay() -
setDay
-
compareTo
- Specified by:
compareTo
in interfaceComparable<TimeUnit>
-
toString
-