|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ucl.xpath.types.AnyType org.ucl.xpath.types.AnySimpleType org.ucl.xpath.types.AnyAtomicType org.ucl.xpath.types.CtrType org.ucl.xpath.types.CalendarType org.ucl.xpath.types.XSGMonthDay
A representation of the MonthDay datatype
Constructor Summary | |
XSGMonthDay()
Initialises a representation of the current month and day |
|
XSGMonthDay(java.util.Calendar cal,
boolean tz)
Initialises a representation of the supplied month and day |
Method Summary | |
java.util.Calendar |
calendar()
Retrieves the Calendar representation of the month and day stored |
ResultSequence |
constructor(ResultSequence arg)
Creates a new ResultSequence consisting of the extractable gMonthDay in the supplied ResultSequence |
int |
day()
Retrieves the actual day as an integer |
boolean |
eq(AnyType arg)
Equality comparison between this and the supplied representation. |
int |
month()
Retrieves the actual month as an integer |
static XSGMonthDay |
parse_gMonthDay(java.lang.String str)
Parses a String representation of a month and day and constructs a new XSGMonthDay representation of it. |
java.lang.String |
string_type()
Retrieves the datatype's full pathname |
java.lang.String |
string_value()
Retrieves a String representation of the stored month and day |
boolean |
timezoned()
Check for whether a timezone was specified at creation |
java.lang.String |
type_name()
Retrieves the datatype's name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XSGMonthDay(java.util.Calendar cal, boolean tz)
cal
- Calendar representation of the month and day to be storedtz
- Timezone associated with this month and daypublic XSGMonthDay()
Method Detail |
public java.lang.String type_name()
type_name
in class CtrType
public static XSGMonthDay parse_gMonthDay(java.lang.String str)
str
- The String representation of the month and day (and optional timezone)
public ResultSequence constructor(ResultSequence arg) throws DynamicError
constructor
in class CtrType
arg
- The ResultSequence from which the gMonthDay is to be extracted
DynamicError
public int month()
public int day()
public boolean timezoned()
public java.lang.String string_value()
string_value
in class AnyType
public java.lang.String string_type()
string_type
in class AnyType
public java.util.Calendar calendar()
public boolean eq(AnyType arg) throws DynamicError
eq
in interface CmpEq
arg
- The XSGMonthDay to compare with
DynamicError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |