|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exist.xquery.value.AtomicValue
org.exist.xquery.value.ComputableValue
org.exist.xquery.value.AbstractDateTimeValue
org.exist.xquery.value.DateValue
| Field Summary |
| Fields inherited from class org.exist.xquery.value.AbstractDateTimeValue |
calendar, DAY, HOUR, MILLISECOND, MINUTE, MONTH, SECOND, YEAR |
| Fields inherited from class org.exist.xquery.value.AtomicValue |
EMPTY_VALUE |
| Fields inherited from interface org.exist.xquery.value.Sequence |
EMPTY_SEQUENCE |
| Constructor Summary | |
DateValue()
|
|
DateValue(java.lang.String dateString)
|
|
| Method Summary | |
AtomicValue |
convertTo(int requiredType)
Convert this item into an atomic value, whose type corresponds to the specified target type. |
protected AbstractDateTimeValue |
createSameKind(XMLGregorianCalendar cal)
|
int |
getType()
Return the type of this item according to the type constants defined in class Type. |
protected QName |
getXMLSchemaType()
|
ComputableValue |
minus(ComputableValue other)
|
| Methods inherited from class org.exist.xquery.value.AbstractDateTimeValue |
adjustedToTimezone, compareTo, compareTo, conversionPreference, div, getCanonicalCalendar, getImplicitCalendar, getPart, getStringValue, getTimeInMillis, getTimezone, getTrimmedCalendar, max, min, mult, plus, toJavaObject, validateTimezone, withoutTimezone |
| Methods inherited from class org.exist.xquery.value.AtomicValue |
add, addAll, atomize, clearContext, contains, copyTo, dump, effectiveBooleanValue, endsWith, getCardinality, getDocumentSet, getItemType, getLength, isCached, isPersistentSet, itemAt, iterate, removeDuplicates, setIsCached, setSelfAsContext, startsWith, toNodeSet, toSAX, toSequence, toString, unorderedIterator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DateValue()
throws XPathException
public DateValue(java.lang.String dateString)
throws XPathException
| Method Detail |
protected AbstractDateTimeValue createSameKind(XMLGregorianCalendar cal)
throws XPathException
createSameKind in class AbstractDateTimeValueXPathExceptionprotected QName getXMLSchemaType()
getXMLSchemaType in class AbstractDateTimeValuepublic int getType()
ItemType.
getType in interface ItemgetType in class AtomicValue
public AtomicValue convertTo(int requiredType)
throws XPathException
ItemType. An XPathException is thrown
if the conversion is impossible.
convertTo in interface ItemconvertTo in class AbstractDateTimeValueXPathException
public ComputableValue minus(ComputableValue other)
throws XPathException
minus in class ComputableValueXPathException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||