public class GMonthValue extends GDateValue
day, daysPerMonth, month, monthData, xsd10rules, yearNO_TIMEZONEtypeLabel| Constructor and Description |
|---|
GMonthValue(byte month,
int tz) |
GMonthValue(byte month,
int tz,
AtomicType type) |
| Modifier and Type | Method and 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
|
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(CharSequence value,
ConversionRules rules) |
compareTo, equals, getCalendar, getComparisonKey, getComponent, getDay, getMonth, getSchemaComparable, getYear, hashCode, isLeapYear, isValidDate, setLexicalValue, toDateTimeadjustTimezone, appendTimezone, appendTimezone, getTimezoneInMinutes, getXPathComparable, hasTimezone, isIdentical, makeCalendarValue, removeTimezone, setTimezoneInMinutes, subtractasAtomic, checkPermittedContents, effectiveBooleanValue, getCanonicalLexicalRepresentation, getCardinality, getItemType, getStringValue, getStringValueCS, head, isIdentical, isNaN, itemAt, iterate, process, setTypeLabel, toStringgetLength, reduce, subsequenceclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLengthreduce, subsequencepublic GMonthValue(byte month,
int tz)
public GMonthValue(byte month,
int tz,
AtomicType type)
public static ConversionResult makeGMonthValue(CharSequence value, ConversionRules rules)
public AtomicValue copyAsSubType(AtomicType typeLabel)
copyAsSubType in class AtomicValuetypeLabel - public BuiltInAtomicType getPrimitiveType()
getPrimitiveType in class AtomicValuepublic 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 minutesCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.