com.ds.fw.types.data
Interface FwTimestampIF

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

public interface FwTimestampIF
extends FwSimpleObjectIF, java.lang.Comparable


Method Summary
 com.ds.fw.types.data.FwDateIF _getDate()
          PRIVATE
 com.ds.fw.types.data.FwTimeIF _getTime()
          PRIVATE
 void addHours(int n)
           
 void addMilliseconds(int n)
           
 void addMinutes(int n)
           
 void addSeconds(int n)
           
 void beNow()
          Sets the date and the time to the current
 void changeTimeZone(java.lang.String oldId, java.lang.String newId)
           
 com.ds.fw.types.data.FwDateIF getDate()
           
 int getDay()
          Gets the day
 int getHour()
          Gets the hours
 java.util.Date getJavaDate()
           
 java.util.Date getJavaDateWithoutMilliseconds()
           
 int getMillisecond()
          Gets the milliseconds
 int getMinute()
          Gets the minutes
 int getMonth()
          Gets the month
 int getSecond()
          Gets the seconds
 com.ds.fw.types.data.FwTimeIF getTime()
           
 int getYear()
          Gets the year
 boolean isAfter(com.ds.fw.types.data.FwTimestampIF ts)
           
 boolean isBefore(com.ds.fw.types.data.FwTimestampIF ts)
           
 void setDay(int i)
          Sets the day
 void setHour(int i)
          Sets the hours
 void setJavaDate(java.util.Date d)
           
 void setMillisecond(int i)
          Sets the milliseconds
 void setMinute(int i)
          Sets the minutes
 void setMonth(int i)
          Sets the month
 void setSecond(int i)
          Sets the seconds
 void setYear(int i)
          Sets the year
 long subtract(com.ds.fw.types.data.FwTimestampIF ts)
           
 
Methods inherited from interface com.ds.fw.types.FwSimpleObjectIF
getClassName, getClone, getCopy, getCopy, getDeepCopy, getDisplayString, getDisplayStringFor, postCopy, toString, toStringValue
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getDay

public int getDay()
Gets the day


setDay

public void setDay(int i)
Sets the day


getMonth

public int getMonth()
Gets the month


setMonth

public void setMonth(int i)
Sets the month


getYear

public int getYear()
Gets the year


setYear

public void setYear(int i)
Sets the year


getHour

public int getHour()
Gets the hours


setHour

public void setHour(int i)
Sets the hours


getMinute

public int getMinute()
Gets the minutes


setMinute

public void setMinute(int i)
Sets the minutes


getSecond

public int getSecond()
Gets the seconds


setSecond

public void setSecond(int i)
Sets the seconds


getMillisecond

public int getMillisecond()
Gets the milliseconds


setMillisecond

public void setMillisecond(int i)
Sets the milliseconds


beNow

public void beNow()
Sets the date and the time to the current


getJavaDate

public java.util.Date getJavaDate()

getJavaDateWithoutMilliseconds

public java.util.Date getJavaDateWithoutMilliseconds()

setJavaDate

public void setJavaDate(java.util.Date d)

changeTimeZone

public void changeTimeZone(java.lang.String oldId,
                           java.lang.String newId)

getDate

public com.ds.fw.types.data.FwDateIF getDate()

getTime

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

isBefore

public boolean isBefore(com.ds.fw.types.data.FwTimestampIF ts)

isAfter

public boolean isAfter(com.ds.fw.types.data.FwTimestampIF ts)

addMilliseconds

public void addMilliseconds(int n)

addSeconds

public void addSeconds(int n)

addMinutes

public void addMinutes(int n)

addHours

public void addHours(int n)

subtract

public long subtract(com.ds.fw.types.data.FwTimestampIF ts)

_getDate

public com.ds.fw.types.data.FwDateIF _getDate()
PRIVATE


_getTime

public com.ds.fw.types.data.FwTimeIF _getTime()
PRIVATE