|
||||||||||
| 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.XSGYear
A representation of the gMonth datatype
| Constructor Summary | |
XSGYear()
Initialises a representation of the current year |
|
XSGYear(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 year stored |
ResultSequence |
constructor(ResultSequence arg)
Creates a new ResultSequence consisting of the extractable gYear in the supplied ResultSequence |
boolean |
eq(AnyType arg)
Equality comparison between this and the supplied representation. |
static XSGYear |
parse_gYear(java.lang.String str)
Parses a String representation of a year and constructs a new XSGYear 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 year |
boolean |
timezoned()
Check for whether a timezone was specified at creation |
java.lang.String |
type_name()
Retrieves the datatype's name |
int |
year()
Retrieves the actual year as an integer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XSGYear(java.util.Calendar cal,
boolean tz)
cal - Calendar representation of the month to be storedtz - Timezone associated with this monthpublic XSGYear()
| Method Detail |
public java.lang.String type_name()
type_name in class CtrTypepublic static XSGYear parse_gYear(java.lang.String str)
str - The String representation of the year (and optional timezone)
public ResultSequence constructor(ResultSequence arg)
throws DynamicError
constructor in class CtrTypearg - The ResultSequence from which the gYear is to be extracted
DynamicErrorpublic int year()
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 XSGYear to compare with
DynamicError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||