com.azalient.apo.basics
Class UTimeConstant

java.lang.Object
  extended by com.azalient.apo.basics.UTime
      extended by com.azalient.apo.basics.UTimeConstant

public class UTimeConstant
extends UTime

An immutable time value, which throws an assertion error if an attempt is made to change the time value


Nested Class Summary
 
Nested classes/interfaces inherited from class com.azalient.apo.basics.UTime
UTime.Format
 
Field Summary
static String ERROR
           
 
Fields inherited from class com.azalient.apo.basics.UTime
eINFS, HHMM, HHMMSS, INF, INFS, MMSS, ZERO
 
Constructor Summary
UTimeConstant(double seconds, UTime.Format format)
           
UTimeConstant(UTime that)
           
 
Method Summary
 void inc(double step)
           
 void set(double seconds)
           
 void set(int seconds)
           
 void set(UTime t)
           
 
Methods inherited from class com.azalient.apo.basics.UTime
asTimeFileName, day, equals, hour, minute, ms, newTime, parse, parseDouble, parseDouble, parseInt, parseInt, second, set, set, set, set, set, time, timeInt, timeStr, toString, toString, toString, toString, toString, toString, toString, toStringTimeOfDay, year
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ERROR

public static final String ERROR
See Also:
Constant Field Values
Constructor Detail

UTimeConstant

public UTimeConstant(double seconds,
                     UTime.Format format)

UTimeConstant

public UTimeConstant(UTime that)
Method Detail

set

public void set(UTime t)
Overrides:
set in class UTime

set

public void set(int seconds)
Overrides:
set in class UTime

set

public void set(double seconds)
Overrides:
set in class UTime

inc

public void inc(double step)
Overrides:
inc in class UTime