|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.XSGMonth
A representation of the gMonth datatype
| Constructor Summary | |
XSGMonth()
Initialises a representation of the current month |
|
XSGMonth(java.util.Calendar cal,
boolean tz)
Initialises a representation of the supplied month |
|
| Method Summary | |
java.util.Calendar |
calendar()
Retrieves the Calendar representation of the month stored |
ResultSequence |
constructor(ResultSequence arg)
Creates a new ResultSequence consisting of the extractable gMonth in the supplied ResultSequence |
boolean |
eq(AnyType arg)
Equality comparison between this and the supplied representation. |
int |
month()
Retrieves the actual month as an integer |
static XSGMonth |
parse_gMonth(java.lang.String str)
Parses a String representation of a month and constructs a new XSGMonth 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 |
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 XSGMonth(java.util.Calendar cal,
boolean tz)
cal - Calendar representation of the month to be storedtz - Timezone associated with this monthpublic XSGMonth()
| Method Detail |
public java.lang.String type_name()
type_name in class CtrTypepublic static XSGMonth parse_gMonth(java.lang.String str)
str - The String representation of the month (and optional timezone)
public ResultSequence constructor(ResultSequence arg)
throws DynamicError
constructor in class CtrTypearg - The ResultSequence from which the gMonth is to be extracted
DynamicErrorpublic int month()
public boolean timezoned()
public java.lang.String string_value()
string_value in class AnyTypepublic java.lang.String string_type()
string_type in class AnyTypepublic java.util.Calendar calendar()
public boolean eq(AnyType arg)
throws DynamicError
eq in interface CmpEqarg - The XSGMonth to compare with
DynamicError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||