|
||||||||||
| 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.XSGDay
A representation of the Day datatype
| Constructor Summary | |
XSGDay()
Initialises a representation of the current day |
|
XSGDay(java.util.Calendar cal,
boolean tz)
Initialises a representation of the supplied day |
|
| Method Summary | |
java.util.Calendar |
calendar()
Retrieves the Calendar representation of the day stored |
ResultSequence |
constructor(ResultSequence arg)
Creates a new ResultSequence consisting of the extractable gDay 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. |
static XSGDay |
parse_gDay(java.lang.String str)
Parses a String representation of a day and constructs a new XSGDay 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 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 XSGDay(java.util.Calendar cal,
boolean tz)
cal - Calendar representation of the day to be storedtz - Timezone associated with this daypublic XSGDay()
| Method Detail |
public java.lang.String type_name()
type_name in class CtrTypepublic static XSGDay parse_gDay(java.lang.String str)
str - The String representation of the day (and optional timezone)
public ResultSequence constructor(ResultSequence arg)
throws DynamicError
constructor in class CtrTypearg - The ResultSequence from which the gDay is to be extracted
DynamicErrorpublic int day()
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 XSGDay to compare with
DynamicError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||