|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xquery.expr.Expr
org.basex.query.xquery.item.Item
org.basex.query.xquery.item.Date
public abstract class Date
Date container.
| Field Summary | |
|---|---|
double |
mil
Milliseconds. |
boolean |
minus
Minus Flag. |
int |
mon
Year and Month. |
long |
sec
Day and Time. |
boolean |
zone
Zone Flag. |
int |
zshift
Zone Time. |
| Fields inherited from class org.basex.query.xquery.expr.Expr |
|---|
type |
| Method Summary | |
|---|---|
int |
diff(Date d)
Compares two dates. |
int |
diff(Item it)
Returns the difference between the current and the specified item. |
static long |
dpm(int y,
int m)
Returns days per month. |
boolean |
eq(Item it)
Checks the items for equality. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xquery.item.Item |
|---|
bool, castErr, comp, dbl, eval, flt, i, info, iter, itr, serialize, serialize, size |
| Methods inherited from class org.basex.query.xquery.expr.Expr |
|---|
cls, d, e, n, node, s, str, u |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double mil
public boolean minus
public int mon
public long sec
public boolean zone
public int zshift
| Method Detail |
|---|
public final int diff(Date d)
d - date to be compared
public int diff(Item it)
throws XQException
Item
diff in class Itemit - item to be compared.
XQException - evaluation exception
public static long dpm(int y,
int m)
y - yearm - month
public final boolean eq(Item it)
Item
eq in class Itemit - item to be compared.
public final java.lang.String toString()
toString in class Item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||