|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fraunhofer.ipsi.xpathDatatypes.XS_AnySimpleType
de.fraunhofer.ipsi.xpathDatatypes.XDT_AnyAtomicType
de.fraunhofer.ipsi.xpathDatatypes.XDT_DayTimeDuration
public class XDT_DayTimeDuration
Field Summary | |
---|---|
boolean |
positive
|
Constructor Summary | |
---|---|
XDT_DayTimeDuration(boolean pos,
java.math.BigInteger days,
java.math.BigInteger hours,
java.math.BigInteger minutes,
java.math.BigDecimal seconds)
Constructor |
|
XDT_DayTimeDuration(java.lang.String s)
Constructor |
Method Summary | ||
---|---|---|
XDT_DayTimeDuration |
add(XDT_DayTimeDuration dayTimeDuration)
Method addDayTimeDurations |
|
|
castas(java.lang.Class<T> type)
Method castas |
|
int |
compareTo(java.lang.Object o)
Method dateTimeLessThan |
|
XDT_DayTimeDuration |
divide(XS_Decimal divide)
Method divideDayTimeDuration |
|
XS_Integer |
getDays()
Method getDaysFromDateTimeDuration |
|
XS_Integer |
getHours()
Method getHoursFromDateTimeDuration |
|
XS_Integer |
getMinutes()
Method getMinutesFromDateTimeDuration |
|
XS_Decimal |
getSeconds()
Method getSecondsFromDateTimeDuration |
|
XDT_DayTimeDuration |
multiply(XS_Decimal multiply)
Method multiplyDayTimeDuration |
|
XDT_DayTimeDuration |
subtract(XDT_DayTimeDuration dayTimeDuration)
Method addDayTimeDurations |
|
double |
toSeconds()
Method toSeconds |
|
java.lang.String |
toString()
Method toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final boolean positive
Constructor Detail |
---|
public XDT_DayTimeDuration(boolean pos, java.math.BigInteger days, java.math.BigInteger hours, java.math.BigInteger minutes, java.math.BigDecimal seconds)
pos
- a booleandays
- a BigIntegerhours
- a BigIntegerminutes
- a BigIntegerseconds
- a BigDecimalpublic XDT_DayTimeDuration(java.lang.String s)
dateTimeDuration
- a XS_StringMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public XS_Integer getDays()
public XS_Integer getHours()
public XS_Integer getMinutes()
public XS_Decimal getSeconds()
public XDT_DayTimeDuration add(XDT_DayTimeDuration dayTimeDuration)
type
- XS_DayTimeDuration
public XDT_DayTimeDuration subtract(XDT_DayTimeDuration dayTimeDuration)
type
- XS_DayTimeDuration
public XDT_DayTimeDuration multiply(XS_Decimal multiply)
type
- XS_Decimal
public XDT_DayTimeDuration divide(XS_Decimal divide)
type
- XS_Decimal
public double toSeconds()
public <T extends XDT_AnyAtomicType> T castas(java.lang.Class<T> type) throws java.lang.ClassCastException, XPathDTException
castas
in class XDT_AnyAtomicType
type
- a Class
java.lang.ClassCastException
XPathDTException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |