com.xml_project.morganaxdm
Class XS_Time

java.lang.Object
  extended by com.xml_project.morganaxdm.XdmSequence
      extended by com.xml_project.morganaxdm.XdmItem
          extended by com.xml_project.morganaxdm.XdmValue
              extended by com.xml_project.morganaxdm.XS_AnySimpleType
                  extended by com.xml_project.morganaxdm.XS_AnyAtomicType
                      extended by com.xml_project.morganaxdm.XS_Calendar
                          extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from class com.xml_project.morganaxdm.XS_AnyAtomicType
XS_AnyAtomicType.ValueComparers
 
Field Summary
static int MaxMicroSeconds
           
static java.math.BigDecimal MaxMicroSecondsBIG
           
static com.xml_project.morganaxdm.XS_Time.Time MIDNIGHT
           
static javax.xml.namespace.QName TypeName
           
 
Fields inherited from class com.xml_project.morganaxdm.XS_Calendar
DaysInMonth, NoTimeZone, StandardDate
 
Constructor Summary
protected XS_Time(int timeZone, com.xml_project.morganaxdm.XS_Time.Time aTime)
           
protected XS_Time(java.lang.String lexical)
           
 
Method Summary
 int getFractions()
           
 int getHours()
           
 java.lang.String getMicrosecondsAsString()
           
 int getMinutes()
           
static java.lang.Class<? extends XS_AnyType> getRestrictionBase()
           
 java.math.BigDecimal getSeconds()
           
 java.lang.String getStringValue()
          Returns the string value.
 com.xml_project.morganaxdm.XS_Time.Time getTime()
           
 javax.xml.namespace.QName getTypeName()
           
 java.lang.Object getValue()
          Returns the value itself.
 boolean isOrdered()
           
 XS_DateTime makeToXS_DateTime()
           
static XS_Time newInstance(XdmValue value)
           
static com.xml_project.morganaxdm.XS_Time.Time parseTime(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 com.xml_project.morganaxdm.XS_AnyAtomicType
compareValue, makeCompareResult, test
 
Methods inherited from class com.xml_project.morganaxdm.XS_AnySimpleType
compareValues, isValue
 
Methods inherited from class com.xml_project.morganaxdm.XdmValue
atomize
 
Methods inherited from class com.xml_project.morganaxdm.XdmItem
first, get, hasValues, isEmpty, iterator, size, subSequence
 
Methods inherited from class com.xml_project.morganaxdm.XdmSequence
concat, hasCommonType, normalize, serialize, serialize, serialize, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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