PullEvent, GroundedValue<AtomicValue>, Item<AtomicValue>, ValueRepresentation<AtomicValue>, ConversionResultpublic class GMonthValue extends GDateValue
typeLabelNO_TIMEZONEday, daysPerMonth, month, monthData, xsd10rules, yearINDETERMINATE_ORDERINGEMPTY_VALUE_ARRAY| Constructor | Description |
|---|---|
GMonthValue(byte month,
int tz) |
|
GMonthValue(byte month,
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 |
makeGMonthValue(java.lang.CharSequence value,
ConversionRules rules) |
asAtomic, checkPermittedContents, effectiveBooleanValue, getCardinality, getItemType, getLength, getStringValue, getStringValueCS, getTypedValue, getTypeLabel, isNaN, itemAt, iterate, process, setTypeLabel, subsequence, toStringadjustTimezone, appendString, appendTimezone, appendTimezone, appendTwoDigits, getTimezoneInMinutes, getXPathComparable, hasTimezone, isIdentical, makeCalendarValue, removeTimezone, setTimezoneInMinutes, subtractcompareTo, equals, getCalendar, getComparisonKey, getComponent, getDay, getMonth, getSchemaComparable, getYear, hashCode, isLeapYear, isValidDate, setLexicalValue, toDateTimeclone, finalize, getClass, notify, notifyAll, wait, wait, waitasItem, asItem, asIterator, asValue, convertToJava, fromItem, getCanonicalLexicalRepresentation, getIterator, getSequenceLength, reducepublic GMonthValue(byte month,
int tz)
public GMonthValue(byte month,
int tz,
AtomicType type)
public static ConversionResult makeGMonthValue(java.lang.CharSequence value, ConversionRules rules)
public AtomicValue copyAsSubType(AtomicType typeLabel)
copyAsSubType in class AtomicValuetypeLabel - public BuiltInAtomicType getPrimitiveType()
getPrimitiveType in class AtomicValuepublic java.lang.CharSequence getPrimitiveStringValue()
AtomicValuegetPrimitiveStringValue in class AtomicValuepublic CalendarValue add(DurationValue duration) throws XPathException
add in class CalendarValueduration - the duration to be added (which might be negative)XPathExceptionpublic CalendarValue adjustTimezone(int tz)
adjustTimezone in class CalendarValuetz - the new timezone, in minutes