public class GDayValue extends DateValue
NO_TIMEZONE
EMPTY_CLASS_ARRAY
EMPTY_VALUE_ARRAY
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
Modifier | Constructor and Description |
---|---|
|
GDayValue() |
protected |
GDayValue(byte day,
int tz) |
|
GDayValue(CharSequence value) |
Modifier and Type | Method and 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
|
CharSequence |
getStringValueCS()
Convert to string
|
add, adjustTimezone, compareTo, compareTo, convertToJava, dateFromJulianDayNumber, equals, getCalendar, getComponent, getDay, getDayOfWeek, getDayWithinYear, getJulianDayNumber, getMonth, getWeekNumber, getWeekNumberWithinMonth, getYear, hashCode, isLeapYear, isValidDate, main, setLexicalValue, subtract, toDateTime, tomorrow, yesterday
appendString, appendTimezone, appendTimezone, appendTwoDigits, getStringValue, getTimezoneInMinutes, hasTimezone, removeTimezone, setTimezoneInMinutes
checkPermittedContents, convert, convert, display, effectiveBooleanValue, evaluateAsString, evaluateItem, getCardinality, getImplementationMethod, getLength, getPrimitiveValue, getTypedValue, hasBuiltInType, iterate, process, schemaEquals, toString
asItem, asIterator, asValue, collapseWhitespace, convert, convertJavaObjectToXPath, getDependencies, getIterator, getParentExpression, getSpecialProperties, itemAt, iterateSubExpressions, makeQNameValue, normalizeWhitespace, optimize, promote, reduce, simplify, stringToNumber, trimWhitespace, typeCheck
public GDayValue()
public GDayValue(CharSequence value) throws XPathException
XPathException
protected GDayValue(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 CharSequence getStringValueCS()
DateValue
getStringValueCS
in interface Item
getStringValueCS
in class DateValue
Item.getStringValue()