com.thaiopensource.datatype.xsd
Class DurationDatatype.Duration

java.lang.Object
  extended by com.thaiopensource.datatype.xsd.DurationDatatype.Duration
Enclosing class:
DurationDatatype

private static class DurationDatatype.Duration
extends Object


Field Summary
private  BigInteger days
           
private  BigInteger hours
           
private  BigInteger minutes
           
private  BigInteger months
           
private  BigDecimal seconds
           
private  BigInteger years
           
 
Constructor Summary
DurationDatatype.Duration(boolean negative, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds)
           
 
Method Summary
 boolean equals(Object obj)
           
(package private)  BigInteger getDays()
           
(package private)  BigInteger getHours()
           
(package private)  BigInteger getMinutes()
           
(package private)  BigInteger getMonths()
           
(package private)  BigDecimal getSeconds()
           
(package private)  BigInteger getYears()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

years

private final BigInteger years

months

private final BigInteger months

days

private final BigInteger days

hours

private final BigInteger hours

minutes

private final BigInteger minutes

seconds

private final BigDecimal seconds
Constructor Detail

DurationDatatype.Duration

DurationDatatype.Duration(boolean negative,
                          BigInteger years,
                          BigInteger months,
                          BigInteger days,
                          BigInteger hours,
                          BigInteger minutes,
                          BigDecimal seconds)
Method Detail

getYears

BigInteger getYears()

getMonths

BigInteger getMonths()

getDays

BigInteger getDays()

getHours

BigInteger getHours()

getMinutes

BigInteger getMinutes()

getSeconds

BigDecimal getSeconds()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object