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 it,
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, hash, hou, min, mon, sec, toJava, toString, tz, tzDefined, yea
atomItem, atomItem, atomSize, atomValue, bool, comparable, dbl, dec, description, ebv, equiv, flt, homogeneous, input, item, itemAt, iter, iterable, itr, materialize, plan, score, score, seqType, size, test, typeId, writeTo, xdmInfo
accept, atomValue, cache, checkUp, compile, copy, count, exprSize, has, inline, isValue, iter, iterator, removable, serialize, serialize, value
atomIter, data, hasFreeVars, indexAccessible, inlineAll, isEmpty, isFunction, isVacuous, markTailCalls, optimize, optimizeEbv, sameAs, typeCheck, uses, visitAll
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 it, Collation coll, InputInfo ii) throws QueryException
Item
diff
in class ADate
it
- item to be comparedcoll
- query contextii
- input infoQueryException
- query exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.