net.sf.saxon.value
public class GMonthDayValue extends GDateValue
Constructor Summary | |
---|---|
GMonthDayValue(byte month, byte day, int tz) | |
GMonthDayValue(byte month, byte day, int tz, AtomicType type) |
Method Summary | |
---|---|
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
|
ConversionResult | convertPrimitive(BuiltInAtomicType requiredType, boolean validate, XPathContext context)
Convert to target data type |
AtomicValue | copyAsSubType(AtomicType typeLabel)
Make a copy of this date, time, or dateTime value |
CharSequence | getPrimitiveStringValue() |
BuiltInAtomicType | getPrimitiveType()
Determine the primitive type of the value. |
static ConversionResult | makeGMonthDayValue(CharSequence value) |
Parameters: duration the duration to be added (which might be negative)
Returns: a new date/time value representing the result of adding the duration. The original object is not modified.
Throws: net.sf.saxon.trans.XPathException
Parameters: tz the new timezone, in minutes
Returns: the date/time in the new timezone
Parameters: requiredType an integer identifying the required atomic type context
Returns: an AtomicValue, a value of the required type; or an ErrorValue
Parameters: typeLabel