PullEvent
, GroundedValue<AtomicValue>
, Item<AtomicValue>
, ValueRepresentation<AtomicValue>
, ConversionResult
public class GMonthDayValue extends GDateValue
typeLabel
NO_TIMEZONE
day, daysPerMonth, month, monthData, xsd10rules, year
INDETERMINATE_ORDERING
EMPTY_VALUE_ARRAY
Constructor | Description |
---|---|
GMonthDayValue(byte month,
byte day,
int tz) |
|
GMonthDayValue(byte month,
byte day,
int tz,
AtomicType type) |
Modifier and Type | Method | Description |
---|---|---|
CalendarValue |
add(DurationValue duration) |
Add a duration to this date/time value
|
CalendarValue |
adjustTimezone(int tz) |
Return a new date, time, or dateTime with the same normalized value, but
in a different timezone
|
AtomicValue |
copyAsSubType(AtomicType typeLabel) |
Make a copy of this date, time, or dateTime value
|
java.lang.CharSequence |
getPrimitiveStringValue() |
Convert the value to a string, using the serialization rules for the primitive type.
|
BuiltInAtomicType |
getPrimitiveType() |
Determine the primitive type of the value.
|
static ConversionResult |
makeGMonthDayValue(java.lang.CharSequence value,
ConversionRules rules) |
asAtomic, checkPermittedContents, effectiveBooleanValue, getCardinality, getItemType, getLength, getStringValue, getStringValueCS, getTypedValue, getTypeLabel, isNaN, itemAt, iterate, process, setTypeLabel, subsequence, toString
adjustTimezone, appendString, appendTimezone, appendTimezone, appendTwoDigits, getTimezoneInMinutes, getXPathComparable, hasTimezone, isIdentical, makeCalendarValue, removeTimezone, setTimezoneInMinutes, subtract
compareTo, equals, getCalendar, getComparisonKey, getComponent, getDay, getMonth, getSchemaComparable, getYear, hashCode, isLeapYear, isValidDate, setLexicalValue, toDateTime
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asItem, asItem, asIterator, asValue, convertToJava, fromItem, getCanonicalLexicalRepresentation, getIterator, getSequenceLength, reduce
public GMonthDayValue(byte month, byte day, int tz)
public GMonthDayValue(byte month, byte day, int tz, AtomicType type)
public static ConversionResult makeGMonthDayValue(java.lang.CharSequence value, ConversionRules rules)
public AtomicValue copyAsSubType(AtomicType typeLabel)
copyAsSubType
in class AtomicValue
typeLabel
- public BuiltInAtomicType getPrimitiveType()
getPrimitiveType
in class AtomicValue
public java.lang.CharSequence getPrimitiveStringValue()
AtomicValue
getPrimitiveStringValue
in class AtomicValue
public CalendarValue add(DurationValue duration) throws XPathException
add
in class CalendarValue
duration
- the duration to be added (which might be negative)XPathException
public CalendarValue adjustTimezone(int tz)
adjustTimezone
in class CalendarValue
tz
- the new timezone, in minutes