public class GDayValue extends DateValue
NO_TIMEZONEEMPTY_CLASS_ARRAYEMPTY_VALUE_ARRAYEVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD| Constructor and Description |
|---|
GDayValue() |
GDayValue(byte day,
int tz) |
GDayValue(java.lang.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
|
java.lang.CharSequence |
getStringValueCS()
Convert to string
|
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, yesterdayappendString, appendTimezone, appendTimezone, appendTwoDigits, getStringValue, getTimezoneInMinutes, hasTimezone, removeTimezone, setTimezoneInMinutescheckPermittedContents, convert, convert, display, effectiveBooleanValue, evaluateAsString, evaluateItem, getCardinality, getImplementationMethod, getLength, getPrimitiveValue, getTypedValue, hasBuiltInType, iterate, process, toStringasItem, asIterator, asValue, convert, convertJavaObjectToXPath, getDependencies, getIterator, getParentExpression, getSpecialProperties, itemAt, iterateSubExpressions, makeQNameValue, optimize, promote, reduce, simplify, stringToNumber, typeCheckpublic GDayValue()
public GDayValue(java.lang.CharSequence value)
throws XPathException
XPathExceptionpublic GDayValue(byte day,
int tz)
public ItemType getItemType(TypeHierarchy th)
getItemType in interface ExpressiongetItemType in class DateValueth - public CalendarValue copy()
public AtomicValue convertPrimitive(BuiltInAtomicType requiredType, boolean validate, XPathContext context)
convertPrimitive in class DateValuerequiredType - 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()
DateValuegetStringValueCS in interface ItemgetStringValueCS in interface ValueRepresentationgetStringValueCS in class DateValueItem.getStringValue()