|
||||||||||
| 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.expr.Expr
org.basex.query.item.Item
org.basex.query.item.Date
public abstract class Date
Date container.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
|---|
Expr.Use |
| Field Summary | |
|---|---|
static DatatypeFactory |
df
Data factory. |
XMLGregorianCalendar |
xc
Calendar instance. |
| Fields inherited from class org.basex.query.item.Item |
|---|
score, 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. |
Object |
java()
Returns a Java object. |
BigDecimal |
seconds()
Returns the date in seconds. |
byte[] |
str()
Returns an atomized string. |
String |
toString()
|
| Methods inherited from class org.basex.query.item.Item |
|---|
atomic, bool, comp, d, dbl, dec, duplicates, ebv, flt, hashCode, i, iter, iter, itr, n, name, node, plan, removable, returned, s, score, score, serialize, size, test, u, uses |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, checkCtx, checkDbl, checkItr, e, indexAccessible, indexEquivalent, remove, sameAs, v |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
color, info |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static DatatypeFactory df
public XMLGregorianCalendar xc
| Method Detail |
|---|
public final byte[] str()
Item
str in class Itempublic final boolean eq(Item it)
Item
eq in class Itemit - item to be compared
public int diff(Item it)
throws QueryException
Item
diff in class Itemit - item to be compared
QueryException - query exceptionpublic final String toString()
toString in class Itempublic final Object java()
Item
java in class Itempublic final BigDecimal seconds()
public final long days()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||