org.jbind.xml.instance.data
Class Duration

java.lang.Object
  extended byorg.jbind.xml.instance.data.Duration
All Implemented Interfaces:
IDuration, IDurationBase, java.io.Serializable

public class Duration
extends java.lang.Object
implements IDuration

See Also:
Serialized Form

Constructor Summary
Duration(int aSign, int aYears, int aMonths, int aDays, int anHours, int aMinutes, int aSeconds, java.math.BigDecimal aFraction)
           
 
Method Summary
 CompareResult compareTo(IDuration aDuration)
           
 boolean equals(java.lang.Object anObject)
           
 int getDays()
           
 java.math.BigDecimal getFraction()
           
 int getHours()
           
 int getMinutes()
           
 int getMonths()
           
 int getSeconds()
           
 int getSign()
           
 int getYears()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Duration

public Duration(int aSign,
                int aYears,
                int aMonths,
                int aDays,
                int anHours,
                int aMinutes,
                int aSeconds,
                java.math.BigDecimal aFraction)
Method Detail

getDays

public int getDays()
Specified by:
getDays in interface IDurationBase

getFraction

public java.math.BigDecimal getFraction()
Specified by:
getFraction in interface IDurationBase

getHours

public int getHours()
Specified by:
getHours in interface IDurationBase

getMinutes

public int getMinutes()
Specified by:
getMinutes in interface IDurationBase

getMonths

public int getMonths()
Specified by:
getMonths in interface IDurationBase

getSeconds

public int getSeconds()
Specified by:
getSeconds in interface IDurationBase

getSign

public int getSign()
Specified by:
getSign in interface IDurationBase

getYears

public int getYears()
Specified by:
getYears in interface IDurationBase

equals

public boolean equals(java.lang.Object anObject)

hashCode

public int hashCode()

compareTo

public CompareResult compareTo(IDuration aDuration)
Specified by:
compareTo in interface IDuration

toString

public java.lang.String toString()