Class TimeUnit

java.lang.Object
fr.ifremer.isisfish.types.TimeUnit
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TimeUnit>

public class TimeUnit extends Object implements Cloneable, Serializable, Comparable<TimeUnit>
TimeUnit.java Created: 20 janv. 2006 03:03:15
Version:
$Revision$ Last update: $Date$ by : $Author$
Author:
poussin
See Also:
  • Field Details

    • HOUR_PER_DAY

      public static final double HOUR_PER_DAY
      See Also:
    • time

      protected double time
      le 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

      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 Comparable<TimeUnit>
    • toString

      public String toString()
      Overrides:
      toString in class Object