fr.ifremer.isisfish.types
Class TimeUnit
java.lang.Object
fr.ifremer.isisfish.types.TimeUnit
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TimeUnit>
public class TimeUnit
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable, java.lang.Comparable<TimeUnit>
- Author:
- poussin
- See Also:
- Serialized Form
|
Field Summary |
static double |
HOUR_PER_DAY
|
protected double |
time
le temps en seconde |
|
Constructor Summary |
TimeUnit(double time)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HOUR_PER_DAY
public static final double HOUR_PER_DAY
- See Also:
- Constant Field Values
time
protected double time
- le temps en seconde
TimeUnit
public TimeUnit(double time)
- Parameters:
time - le temps en seconde
getTime
public double getTime()
- Returns:
- Returns the time in second
setTime
public TimeUnit setTime(double time)
- Parameters:
time - The time to set in second
getHour
public double getHour()
setHour
public TimeUnit setHour(double hour)
getDay
public double getDay()
setDay
public TimeUnit setDay(double day)
compareTo
public int compareTo(TimeUnit o)
- Specified by:
compareTo in interface java.lang.Comparable<TimeUnit>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 1999-2010 CodeLutin. All Rights Reserved.