|
||||||||||
| 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.Dur
org.basex.query.item.YMd
public final class YMd
YearMonth Duration item.
| Field Summary |
|---|
| Fields inherited from class org.basex.query.item.Item |
|---|
type |
| Constructor Summary | |
|---|---|
YMd(Dur it,
double f,
boolean m)
Constructor. |
|
YMd(YMd it,
YMd a,
boolean p)
Constructor. |
|
| Method Summary | |
|---|---|
int |
diff(Item it)
Returns the difference between the current and the specified item. |
int |
hash()
Returns a hash code. |
byte[] |
str()
Returns an atomized string. |
int |
ymd()
Returns the years and months. |
| Methods inherited from class org.basex.query.item.Dur |
|---|
day, eq, hou, java, min, mon, sec, tim, toString, yea |
| Methods inherited from class org.basex.query.item.Item |
|---|
atomic, bool, castErr, comp, d, dbl, dec, duplicates, ebv, flt, i, iter, iter, itr, n, name, node, plan, removable, returned, s, score, score, serialize, test, u, uses |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, checkCtx, checkDbl, checkItr, e, indexAccessible, indexEquivalent, remove, sameAs, size |
| 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 |
| Constructor Detail |
|---|
public YMd(YMd it,
YMd a,
boolean p)
it - duration itema - duration to be added/subtractedp - plus/minus flag
public YMd(Dur it,
double f,
boolean m)
throws QueryException
it - duration itemf - factorm - multiplication/division flag
QueryException - evaluation exception| Method Detail |
|---|
public int ymd()
public byte[] str()
Item
str in class Durpublic int hash()
Item
hash in class Dur
public int diff(Item it)
throws QueryException
Item
diff in class Durit - item to be compared.
QueryException - evaluation exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||