com.xml_project.morganaxdm
Class XS_Duration.Duration
java.lang.Object
com.xml_project.morganaxdm.XS_Duration.Duration
- Enclosing class:
- XS_Duration
protected static class XS_Duration.Duration
- extends java.lang.Object
Internal implementation of a duration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XS_Duration.Duration
protected XS_Duration.Duration(XS_Duration.Duration d)
- Parameters:
d
-
XS_Duration.Duration
protected XS_Duration.Duration(boolean neg,
int someMonths,
long someSeconds)
isNegative
protected boolean isNegative()
getMonths
protected int getMonths()
getSeconds
protected long getSeconds()
getMicroseconds
protected int getMicroseconds()
isZero
protected boolean isZero()
clearMonths
protected void clearMonths()
negate
protected XS_Duration.Duration negate()
compare
protected int compare(XS_Duration.Duration comp)
setMonth
protected void setMonth(boolean n,
int m)
toXML
protected java.lang.String toXML(java.lang.String defaultString)
add
protected XS_Duration.Duration add(XS_Duration.Duration d)
multiply
protected XS_Duration.Duration multiply(java.lang.Double d)
throws XPathException
- Throws:
XPathException
divide
protected XS_Duration.Duration divide(java.lang.Double d)
throws XPathException
- Throws:
XPathException