Constructor and Description |
---|
GDt(ADate date,
Type type)
Constructor.
|
GDt(byte[] date,
Type type,
InputInfo ii)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
diff(Item item,
Collation coll,
InputInfo ii)
Returns the difference between the current and the specified item.
|
byte[] |
string(InputInfo ii)
Returns a string representation of the value.
|
void |
timeZone(DTDur zone,
boolean d,
InputInfo ii)
Adjusts the timezone.
|
day, dpm, eq, equals, hash, hasTz, hour, minute, mon, sameKey, sec, toJava, toString, tz, yea
atomItem, atomSize, atomValue, bool, cache, comparable, dbl, dec, description, ebv, equiv, flt, input, instanceOf, item, itemAt, iter, iterable, itr, materialize, persistent, plan, reverse, score, score, seqType, size, subSequence, test, toQuotedToken, toToken, typeId, xdmInfo
accept, checkUp, compile, copy, count, exprSize, has, inline, inlineable, isEmpty, isItem, iter, iterator, refineType, serialize, serialize, serialize, value
atomIter, data, funcType, hasFreeVars, indexAccessible, inlineAll, isSimple, isVacuous, markTailCalls, merge, optimize, optimizeEbv, typeCheck, uses, visitAll
toErrorString
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public GDt(byte[] date, Type type, InputInfo ii) throws QueryException
date
- datetype
- item typeii
- input infoQueryException
- query exceptionpublic void timeZone(DTDur zone, boolean d, InputInfo ii)
ADate
public int diff(Item item, Collation coll, InputInfo ii) throws QueryException
Item
diff
in class ADate
item
- item to be comparedcoll
- collation (can be null
)ii
- input info (can be null
)QueryException
- query exceptionCopyright © 2005–2019 BaseX Team. All rights reserved.