|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.data.ExprInfo
org.basex.query.expr.Expr
org.basex.query.value.Value
org.basex.query.value.item.Item
org.basex.query.value.item.ADateDur
org.basex.query.value.item.ADate
org.basex.query.value.item.Tim
public final class Tim
Time item (xs:time
).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
---|
Expr.Flag |
Field Summary |
---|
Fields inherited from class org.basex.query.value.item.ADate |
---|
day, DAYS, DD, df, hou, min, mon, yea, YEAR, zon, ZONE |
Fields inherited from class org.basex.query.value.item.ADateDur |
---|
BD100, BD1000, BD146097, BD1461, BD153, BD2, BD3600, BD365, BD36524, BD36525, BD366, BD4, BD5, BD60, BDMAXLONG, DAYSECONDS, sec |
Fields inherited from class org.basex.query.value.item.Item |
---|
score, UNDEF |
Fields inherited from class org.basex.query.value.Value |
---|
type |
Constructor Summary | |
---|---|
Tim(ADate time)
Constructor. |
|
Tim(byte[] time,
InputInfo ii)
Constructor. |
|
Tim(Tim time,
DTDur dur,
boolean plus)
Constructor. |
Method Summary | |
---|---|
void |
timeZone(DTDur tz,
boolean spec,
InputInfo ii)
Adjusts the timezone. |
Methods inherited from class org.basex.query.value.item.ADate |
---|
calc, day, days, diff, dpm, eq, hash, hou, min, mon, prefix, sec, string, toJava, toString, tz, yea, zon, zone |
Methods inherited from class org.basex.query.value.item.ADateDur |
---|
dateErr, toDecimal, toLong |
Methods inherited from class org.basex.query.value.item.Item |
---|
bool, castErr, comparable, dbl, dec, description, ebv, equiv, flt, homogeneous, input, isItem, item, itemAt, iter, iterable, itr, materialize, plan, score, score, size, test, type, typeId, writeTo, xdmInfo |
Methods inherited from class org.basex.query.value.Value |
---|
accept, cache, checkUp, compile, copy, count, data, exprSize, has, inline, isValue, iter, iterator, removable, serialize, value |
Methods inherited from class org.basex.query.expr.Expr |
---|
addText, compEbv, copy, hasFreeVars, indexAccessible, indexEquivalent, inlineAll, isEmpty, isFunction, isVacuous, markTailCalls, optimize, sameAs, uses, visitAll |
Methods inherited from class org.basex.data.ExprInfo |
---|
addPlan, addPlan, info, planAttr, planElem |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Tim(ADate time)
time
- timepublic Tim(byte[] time, InputInfo ii) throws QueryException
time
- timeii
- input info
QueryException
- query exceptionpublic Tim(Tim time, DTDur dur, boolean plus)
time
- timedur
- duration to be added/subtractedplus
- plus/minus flagMethod Detail |
---|
public void timeZone(DTDur tz, boolean spec, InputInfo ii) throws QueryException
ADate
timeZone
in class ADate
tz
- timezonespec
- indicates if zone has been specified (can be null
)ii
- input info
QueryException
- query exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |