|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.xquery.expr.Expr
org.basex.query.xquery.item.Item
org.basex.query.xquery.item.Date
public abstract class Date
Date container.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.xquery.expr.Expr |
---|
Expr.Return, Expr.Using |
Field Summary | |
---|---|
static javax.xml.datatype.DatatypeFactory |
df
Data factory. |
javax.xml.datatype.XMLGregorianCalendar |
xc
Calendar instance. |
Fields inherited from class org.basex.query.xquery.item.Item |
---|
type |
Method Summary | |
---|---|
long |
days()
Returns the days. |
int |
diff(Item it)
Returns the difference between the current and the specified item. |
boolean |
eq(Item it)
Checks the items for equality. |
java.lang.Object |
java()
Returns a Java object. |
java.math.BigDecimal |
seconds()
Returns the date in seconds. |
byte[] |
str()
Returns an atomized string. |
java.lang.String |
toString()
|
Methods inherited from class org.basex.query.xquery.item.Item |
---|
bool, castErr, comp, d, dbl, dec, flt, hash, i, iter, iter, itr, n, name, node, plan, returned, s, score, score, serialize, size, u, uses |
Methods inherited from class org.basex.query.xquery.expr.Expr |
---|
e |
Methods inherited from class org.basex.query.ExprInfo |
---|
color, info |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static javax.xml.datatype.DatatypeFactory df
public javax.xml.datatype.XMLGregorianCalendar xc
Method Detail |
---|
public final byte[] str()
Item
str
in class Item
public final boolean eq(Item it)
Item
eq
in class Item
it
- item to be compared.
public int diff(Item it) throws XQException
Item
diff
in class Item
it
- item to be compared.
XQException
- evaluation exceptionpublic final java.lang.String toString()
toString
in class Item
public final java.lang.Object java()
Item
java
in class Item
public java.math.BigDecimal seconds()
public long days()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |