java.io.Serializable
, java.lang.Comparable
, Expression
, Item
, ValueRepresentation
public class GMonthDayValue extends DateValue
NO_TIMEZONE
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
EMPTY_CLASS_ARRAY
EMPTY_VALUE_ARRAY
Constructor | Description |
---|---|
GMonthDayValue() |
|
GMonthDayValue(byte month,
byte day,
int tz) |
|
GMonthDayValue(java.lang.CharSequence value) |
Modifier and Type | Method | Description |
---|---|---|
AtomicValue |
convertPrimitive(BuiltInAtomicType requiredType,
boolean validate,
XPathContext context) |
Convert to target data type
|
CalendarValue |
copy() |
Make a copy of this date, time, or dateTime value
|
ItemType |
getItemType(TypeHierarchy th) |
Determine the data type of the expression
|
java.lang.CharSequence |
getStringValueCS() |
Convert to string
|
checkPermittedContents, convert, convert, display, effectiveBooleanValue, evaluateAsString, evaluateItem, getCardinality, getImplementationMethod, getLength, getPrimitiveValue, getTypedValue, hasBuiltInType, iterate, process, toString
appendString, appendTimezone, appendTimezone, appendTwoDigits, getStringValue, getTimezoneInMinutes, hasTimezone, removeTimezone, setTimezoneInMinutes
add, adjustTimezone, compareTo, compareTo, convertToJava, dateFromJulianDayNumber, equals, getCalendar, getComparisonKey, getComponent, getDay, getDayOfWeek, getDayWithinYear, getJulianDayNumber, getMonth, getWeekNumber, getWeekNumberWithinMonth, getYear, hashCode, isLeapYear, isValidDate, main, setLexicalValue, subtract, toDateTime, tomorrow, yesterday
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asItem, asIterator, asValue, convert, convertJavaObjectToXPath, getDependencies, getIterator, getParentExpression, getSpecialProperties, itemAt, iterateSubExpressions, makeQNameValue, optimize, promote, reduce, simplify, stringToNumber, typeCheck
public GMonthDayValue()
public GMonthDayValue(java.lang.CharSequence value) throws XPathException
XPathException
public GMonthDayValue(byte month, byte day, int tz)
public ItemType getItemType(TypeHierarchy th)
getItemType
in interface Expression
getItemType
in class DateValue
th
- public CalendarValue copy()
public AtomicValue convertPrimitive(BuiltInAtomicType requiredType, boolean validate, XPathContext context)
convertPrimitive
in class DateValue
requiredType
- an integer identifying the required atomic typecontext
- validate
- true if validation is required. If set to false, the caller guarantees that
the value is valid for the target data type, and that further validation is therefore not required.
Note that a validation failure may be reported even if validation was not requested.public java.lang.CharSequence getStringValueCS()
DateValue
getStringValueCS
in interface Item
getStringValueCS
in interface ValueRepresentation
getStringValueCS
in class DateValue
Item.getStringValue()