|
|||||||||
| 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
org.basex.query.xquery.item.Dur
org.basex.query.xquery.item.DTd
public final class DTd
DayTime Duration item.
| Field Summary |
|---|
| Fields inherited from class org.basex.query.xquery.item.Date |
|---|
mil, minus, mon, sec, zone, zshift |
| Fields inherited from class org.basex.query.xquery.expr.Expr |
|---|
type |
| Constructor Summary | |
|---|---|
DTd(byte[] v)
Constructor. |
|
DTd(Date it,
Date sub)
Constructor. |
|
DTd(DTd it,
DTd a,
boolean p)
Constructor. |
|
DTd(Dur it)
Constructor. |
|
DTd(Dur it,
double f,
boolean m)
Constructor. |
|
DTd(int shift)
Timezone constructor. |
|
| Method Summary | |
|---|---|
int |
diff(Item it)
Returns the difference between the current and the specified item. |
byte[] |
str()
Returns an atomized string. |
| Methods inherited from class org.basex.query.xquery.item.Dur |
|---|
d |
| Methods inherited from class org.basex.query.xquery.item.Date |
|---|
diff, dpm, eq, 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, e, n, node, s, u |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DTd(byte[] v)
throws XQException
v - value
XQException - evaluation exception
public DTd(Date it,
Date sub)
it - date itemsub - date to be subtracted
public DTd(DTd it,
DTd a,
boolean p)
it - duration itema - duration to be added/subtractedp - plus/minus flagpublic DTd(Dur it)
it - duration item
public DTd(Dur it,
double f,
boolean m)
throws XQException
it - duration itemf - factorm - multiplication flag
XQException - evaluation exceptionpublic DTd(int shift)
shift - shift value| Method Detail |
|---|
public int diff(Item it)
throws XQException
Item
diff in class Durit - item to be compared.
XQException - evaluation exceptionpublic byte[] str()
Expr
str in class Dur
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||