com.xml_project.morganaxdm
Class XS_Time
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_Calendar
com.xml_project.morganaxdm.XS_Time
- All Implemented Interfaces:
- XS_AnyType, java.lang.Iterable<XdmItem>
public class XS_Time
- extends XS_Calendar
Implementation of xs:time
Constructor Summary |
protected |
XS_Time(int timeZone,
com.xml_project.morganaxdm.XS_Time.Time aTime)
|
protected |
XS_Time(java.lang.String lexical)
|
Methods inherited from class com.xml_project.morganaxdm.XS_Calendar |
checkDigits, clearTimezone, compareValues, getComponent, getTimezone, getTimezoneAsDuration, getTimezoneAsXS_dayTimeDuration, getTimezoneXMLValue, hasTimezone, make2Digits, make4Digits, parseTimezone, setTimezone, setTimezone, splitTimezoneFromTime |
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
MIDNIGHT
public static final com.xml_project.morganaxdm.XS_Time.Time MIDNIGHT
MaxMicroSeconds
public static final int MaxMicroSeconds
- See Also:
- Constant Field Values
MaxMicroSecondsBIG
public static final java.math.BigDecimal MaxMicroSecondsBIG
XS_Time
protected XS_Time(java.lang.String lexical)
throws XPathException
- Throws:
XPathException
XS_Time
protected XS_Time(int timeZone,
com.xml_project.morganaxdm.XS_Time.Time aTime)
getTypeName
public javax.xml.namespace.QName getTypeName()
getStringValue
public java.lang.String getStringValue()
- Description copied from class:
XdmItem
- Returns the string value.
- Specified by:
getStringValue
in class XdmItem
- Returns:
- the string value.
getValue
public java.lang.Object getValue()
- Description copied from class:
XdmItem
- Returns the value itself.
- Specified by:
getValue
in class XdmItem
- Returns:
- the value.
getTime
public com.xml_project.morganaxdm.XS_Time.Time getTime()
getHours
public int getHours()
getMinutes
public int getMinutes()
getSeconds
public java.math.BigDecimal getSeconds()
getFractions
public int getFractions()
getMicrosecondsAsString
public java.lang.String getMicrosecondsAsString()
- Overrides:
getMicrosecondsAsString
in class XS_Calendar
isOrdered
public boolean isOrdered()
- Specified by:
isOrdered
in class XS_AnyAtomicType
newInstance
public static XS_Time newInstance(XdmValue value)
throws XPathException
- Throws:
XPathException
getRestrictionBase
public static java.lang.Class<? extends XS_AnyType> getRestrictionBase()
parseTime
public static com.xml_project.morganaxdm.XS_Time.Time parseTime(java.lang.String lexical)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
makeToXS_DateTime
public XS_DateTime makeToXS_DateTime()
- Specified by:
makeToXS_DateTime
in class XS_Calendar