net.sf.saxon.value

Class GDayValue

public class GDayValue extends DateValue

Implementation of the xs:gDay data type
Constructor Summary
GDayValue()
GDayValue(CharSequence value)
protected GDayValue(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

GDayValue

public GDayValue()

GDayValue

public GDayValue(CharSequence value)

GDayValue

protected GDayValue(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_DAY_TYPE,

getStringValueCS

public CharSequence getStringValueCS()