net.sf.saxon.value
Class GDayValue
java.lang.Object
net.sf.saxon.value.Value
net.sf.saxon.value.AtomicValue
net.sf.saxon.value.CalendarValue
net.sf.saxon.value.DateValue
net.sf.saxon.value.GDayValue
- All Implemented Interfaces:
- Serializable, Comparable, Expression, Item
public class GDayValue
- extends DateValue
Implementation of the xs:gDay data type
- See Also:
- Serialized Form
Methods inherited from class net.sf.saxon.value.DateValue |
add, compareTo, conversionPreference, convertToJava, display, equals, getComponent, getItemType, getUTCDate, hashCode, removeTimezone, setDateValue, setLexicalValue, setTimezone, subtract |
Methods inherited from class net.sf.saxon.value.Value |
analyze, asItem, asValue, collapseWhitespace, getDependencies, getSpecialProperties, getSubExpressions, inverse, normalizeWhitespace, promote, simplify, stringToInteger, stringToNumber, trimWhitespace |
GDayValue
public GDayValue()
GDayValue
public GDayValue(CharSequence value)
throws XPathException
- Throws:
XPathException
convert
public AtomicValue convert(int requiredType)
throws XPathException
- Convert to target data type
- Overrides:
convert
in class DateValue
- Parameters:
requiredType
- an integer identifying the required atomic type
- Returns:
- an AtomicValue, a value of the required type
- Throws:
XPathException
- if the conversion is not possible
getStringValue
public String getStringValue()
- Description copied from class:
DateValue
- Convert to string
- Specified by:
getStringValue
in interface Item
- Overrides:
getStringValue
in class DateValue
- Returns:
- ISO 8601 representation.