com.u2d.type.atom
Class TimeInterval

java.lang.Object
  extended by com.u2d.type.atom.TimeInterval

public class TimeInterval
extends java.lang.Object

Author:
Eitan Suez

Field Summary
static TimeInterval ONEDAY
           
 
Constructor Summary
TimeInterval(int field, long amount)
           
TimeInterval(long milis)
           
 
Method Summary
 TimeInterval add(int field, long amount)
           
 TimeInterval add(TimeInterval ti)
           
 long amt()
           
 int field()
           
 long getMilis()
           
 java.lang.String toHrMinFormat()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ONEDAY

public static TimeInterval ONEDAY
Constructor Detail

TimeInterval

public TimeInterval(int field,
                    long amount)

TimeInterval

public TimeInterval(long milis)
Method Detail

add

public TimeInterval add(int field,
                        long amount)

add

public TimeInterval add(TimeInterval ti)

field

public int field()

amt

public long amt()

getMilis

public long getMilis()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toHrMinFormat

public java.lang.String toHrMinFormat()