net.sf.saxon.value

Class GMonthDayValue

public class GMonthDayValue extends DateValue

Implementation of the xs:gYear data type
Constructor Summary
GMonthDayValue()
GMonthDayValue(CharSequence value)
GMonthDayValue(byte month, byte day, int tz)
Method Summary
AtomicValueconvertPrimitive(BuiltInAtomicType requiredType, boolean validate, XPathContext context)
Convert to target data type
CalendarValuecopy()
Make a copy of this date, time, or dateTime value
ItemTypegetItemType(TypeHierarchy th)
Determine the data type of the expression
CharSequencegetStringValueCS()

Constructor Detail

GMonthDayValue

public GMonthDayValue()

GMonthDayValue

public GMonthDayValue(CharSequence value)

GMonthDayValue

public GMonthDayValue(byte month, byte day, int tz)

Method Detail

convertPrimitive

public AtomicValue convertPrimitive(BuiltInAtomicType requiredType, boolean validate, XPathContext context)
Convert to target data type

Parameters: requiredType an integer identifying the required atomic type context

Returns: an AtomicValue, a value of the required type; or an ErrorValue

copy

public CalendarValue copy()
Make a copy of this date, time, or dateTime value

getItemType

public ItemType getItemType(TypeHierarchy th)
Determine the data type of the expression

Parameters: th

Returns: Type.G_MONTH_DAY_TYPE,

getStringValueCS

public CharSequence getStringValueCS()