com.ds.fw.types.data
Interface FwTimeIF

All Superinterfaces:
java.lang.Cloneable, FwCopyableIF, FwDisplayableIF, FwSimpleObjectIF, java.io.Serializable
All Known Implementing Classes:
FwTime

public interface FwTimeIF
extends FwSimpleObjectIF


Method Summary
 boolean addHour()
           
 int addHours(int n)
           
 boolean addMillisecond()
           
 int addMilliseconds(int n)
           
 boolean addMinute()
           
 int addMinutes(int n)
           
 boolean addSecond()
           
 int addSeconds(int n)
           
 void beNow()
           
 boolean fromString(java.lang.String s)
          Set the time by parsing a string in the format hh:mm:ss.
 int getHour()
           
 java.util.Date getJavaDate()
           
 java.util.Date getJavaDateWithoutMilliseconds()
           
 int getMillisecond()
           
 int getMinute()
           
 int getSecond()
           
 com.ds.fw.types.data.FwTimeIF getTimeCopy()
           
 boolean isAfter(com.ds.fw.types.data.FwTimeIF t)
           
 boolean isBefore(com.ds.fw.types.data.FwTimeIF t)
           
 void setHour(int o)
           
 void setJavaDate(java.util.Date d)
           
 void setMillisecond(int o)
           
 void setMinute(int o)
           
 void setSecond(int o)
           
 boolean subtractHour()
           
 boolean subtractMillisecond()
           
 boolean subtractMinute()
           
 boolean subtractSecond()
           
 
Methods inherited from interface com.ds.fw.types.FwSimpleObjectIF
getClassName, getClone, getCopy, getCopy, getDeepCopy, getDisplayString, getDisplayStringFor, postCopy, toString, toStringValue
 

Method Detail

getHour

public int getHour()

setHour

public void setHour(int o)

getMinute

public int getMinute()

setMinute

public void setMinute(int o)

getSecond

public int getSecond()

setSecond

public void setSecond(int o)

getMillisecond

public int getMillisecond()

setMillisecond

public void setMillisecond(int o)

beNow

public void beNow()

getJavaDate

public java.util.Date getJavaDate()

getJavaDateWithoutMilliseconds

public java.util.Date getJavaDateWithoutMilliseconds()

setJavaDate

public void setJavaDate(java.util.Date d)

isBefore

public boolean isBefore(com.ds.fw.types.data.FwTimeIF t)

isAfter

public boolean isAfter(com.ds.fw.types.data.FwTimeIF t)

fromString

public boolean fromString(java.lang.String s)
Set the time by parsing a string in the format hh:mm:ss. The hour, minute and seconds may be 1 or two digits.


addMillisecond

public boolean addMillisecond()

subtractMillisecond

public boolean subtractMillisecond()

addMilliseconds

public int addMilliseconds(int n)

addSecond

public boolean addSecond()

subtractSecond

public boolean subtractSecond()

addSeconds

public int addSeconds(int n)

addMinute

public boolean addMinute()

subtractMinute

public boolean subtractMinute()

addMinutes

public int addMinutes(int n)

addHour

public boolean addHour()

subtractHour

public boolean subtractHour()

addHours

public int addHours(int n)

getTimeCopy

public com.ds.fw.types.data.FwTimeIF getTimeCopy()