com.xml_project.morganaxdm
Class XS_dayTimeDuration
java.lang.Object
com.xml_project.morganaxdm.XdmSequence
com.xml_project.morganaxdm.XdmItem
com.xml_project.morganaxdm.XdmValue
com.xml_project.morganaxdm.XS_AnySimpleType
com.xml_project.morganaxdm.XS_AnyAtomicType
com.xml_project.morganaxdm.XS_Duration
com.xml_project.morganaxdm.XS_dayTimeDuration
- All Implemented Interfaces:
- XS_AnyType, java.lang.Iterable<XdmItem>
public class XS_dayTimeDuration
- extends XS_Duration
Implementation of xs:dayTimeDuration
Field Summary |
static javax.xml.namespace.QName |
TypeName
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeName
public static final javax.xml.namespace.QName TypeName
XS_dayTimeDuration
protected XS_dayTimeDuration(XS_Duration.Duration d)
getTypeName
public javax.xml.namespace.QName getTypeName()
- Specified by:
getTypeName
in interface XS_AnyType
- Overrides:
getTypeName
in class XS_Duration
copy
public XS_dayTimeDuration copy()
getStringValue
public java.lang.String getStringValue()
- Description copied from class:
XdmItem
- Returns the string value.
- Overrides:
getStringValue
in class XS_Duration
- Returns:
- the string value.
isOrdered
public boolean isOrdered()
- Overrides:
isOrdered
in class XS_Duration
isValidTimezone
public boolean isValidTimezone()
newInstance
public static XS_dayTimeDuration newInstance(XdmValue value)
throws XPathException
- Throws:
XPathException
newInstance
public static XS_dayTimeDuration newInstance(int millies)
getRestrictionBase
public static java.lang.Class<? extends XS_AnyType> getRestrictionBase()
add
public static XS_dayTimeDuration add(XS_dayTimeDuration d1,
XS_dayTimeDuration d2)
sub
public static XS_dayTimeDuration sub(XS_dayTimeDuration d1,
XS_dayTimeDuration d2)
multiply
public static XS_dayTimeDuration multiply(XS_dayTimeDuration d,
XS_Double num)
throws XPathException
- Throws:
XPathException
divide
public static XS_dayTimeDuration divide(XS_dayTimeDuration d,
XS_Double num)
throws XPathException
- Throws:
XPathException
divide
public static XS_Decimal divide(XS_dayTimeDuration d1,
XS_dayTimeDuration d2)
throws XPathException
- Throws:
XPathException