com.xml_project.morganaxproc.xdm
Class XS_Time

java.lang.Object
  extended by com.xml_project.morganaxproc.xdm.XdmSequence
      extended by com.xml_project.morganaxproc.xdm.XdmItem
          extended by com.xml_project.morganaxproc.xdm.XdmValue
              extended by com.xml_project.morganaxproc.xdm.XS_AnySimpleType
                  extended by com.xml_project.morganaxproc.xdm.XS_AnyAtomicType
                      extended by com.xml_project.morganaxproc.xdm.XS_Calendar
                          extended by com.xml_project.morganaxproc.xdm.XS_Time
All Implemented Interfaces:
XS_AnyType, 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.morganaxproc.xdm.XS_AnyAtomicType
XS_AnyAtomicType.ValueComparers
 
Field Summary
static int MaxMicroSeconds
           
static BigDecimal MaxMicroSecondsBIG
           
static com.xml_project.morganaxproc.xdm.XS_Time.Time MIDNIGHT
           
static QName TypeName
           
 
Fields inherited from class com.xml_project.morganaxproc.xdm.XS_Calendar
DaysInMonth, NoTimeZone, StandardDate
 
Constructor Summary
protected XS_Time(int timeZone, com.xml_project.morganaxproc.xdm.XS_Time.Time aTime)
           
protected XS_Time(String lexical)
           
 
Method Summary
 int getFractions()
           
 int getHours()
           
 String getMicrosecondsAsString()
           
 int getMinutes()
           
static Class<? extends XS_AnyType> getRestrictionBase()
           
 BigDecimal getSeconds()
           
 String getStringValue()
          Returns the string value.
 com.xml_project.morganaxproc.xdm.XS_Time.Time getTime()
           
 QName getTypeName()
           
 Object getValue()
          Returns the value itself.
 boolean isOrdered()
           
 XS_DateTime makeToXS_DateTime()
           
static XS_Time newInstance(XdmValue value)
           
static com.xml_project.morganaxproc.xdm.XS_Time.Time parseTime(String lexical)
           
 
Methods inherited from class com.xml_project.morganaxproc.xdm.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.morganaxproc.xdm.XS_AnyAtomicType
compareValue, makeCompareResult, test
 
Methods inherited from class com.xml_project.morganaxproc.xdm.XS_AnySimpleType
compareValues, isValue
 
Methods inherited from class com.xml_project.morganaxproc.xdm.XdmValue
atomize
 
Methods inherited from class com.xml_project.morganaxproc.xdm.XdmItem
first, get, hasValues, isEmpty, iterator, size, subSequence
 
Methods inherited from class com.xml_project.morganaxproc.xdm.XdmSequence
concat, hasCommonType, normalize, 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 QName TypeName

MIDNIGHT

public static final com.xml_project.morganaxproc.xdm.XS_Time.Time MIDNIGHT

MaxMicroSeconds

public static final int MaxMicroSeconds
See Also:
Constant Field Values

MaxMicroSecondsBIG

public static final BigDecimal MaxMicroSecondsBIG
Constructor Detail

XS_Time

protected XS_Time(String lexical)
           throws XPathException
Throws:
XPathException

XS_Time

protected XS_Time(int timeZone,
                  com.xml_project.morganaxproc.xdm.XS_Time.Time aTime)
Method Detail

getTypeName

public QName getTypeName()

getStringValue

public String getStringValue()
Description copied from class: XdmItem
Returns the string value.

Specified by:
getStringValue in class XdmItem
Returns:
the string value.

getValue

public 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.morganaxproc.xdm.XS_Time.Time getTime()

getHours

public int getHours()

getMinutes

public int getMinutes()

getSeconds

public BigDecimal getSeconds()

getFractions

public int getFractions()

getMicrosecondsAsString

public 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 Class<? extends XS_AnyType> getRestrictionBase()

parseTime

public static com.xml_project.morganaxproc.xdm.XS_Time.Time parseTime(String lexical)
                                                               throws IllegalArgumentException
Throws:
IllegalArgumentException

makeToXS_DateTime

public XS_DateTime makeToXS_DateTime()
Specified by:
makeToXS_DateTime in class XS_Calendar