Package org.basex.query.value.item
Class Dtm
DateTime item (
xs:dateTime).- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.basex.query.value.item.ADate
day, diff, dpm, eq, equals, hash, hasTz, hour, minute, mon, plan, sameKey, sec, seconds, string, toJava, tz, yeaMethods inherited from class org.basex.query.value.item.Item
atomItem, atomSize, atomValue, bool, cache, comparable, dbl, ddo, dec, description, ebv, equiv, flt, input, instanceOf, item, itemAt, iter, itr, materialize, persistent, plan, refineType, reverse, score, seqType, size, subsequence, test, typeId, xdmInfoMethods inherited from class org.basex.query.value.Value
accept, checkUp, compile, copy, count, exprSize, has, inline, inlineable, isEmpty, isItem, iter, iterator, materialize, serialize, serialize, serialize, valueMethods inherited from class org.basex.query.expr.Expr
arg, args, atomIter, data, data, funcType, hasFreeVars, indexAccessible, isSimple, markTailCalls, mergeEbv, optimize, simplifyFor, typeCheck, uses, vacuous, visitAllMethods inherited from class org.basex.query.expr.ExprInfo
toErrorString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Dtm
Constructor.- Parameters:
date- date
-
Dtm
Constructor.- Parameters:
date- datetime- timeii- input info- Throws:
QueryException- query exception
-
Dtm
Constructor.- Parameters:
date- dateii- input info- Throws:
QueryException- query exception
-
Dtm
Constructor.- Parameters:
date- datedur- durationplus- plus/minus flagii- input info- Throws:
QueryException- query exception
-
-
Method Details
-
timeZone
Description copied from class:ADateAdjusts the timezone.- Specified by:
timeZonein classADate- Parameters:
zone- timezone (may benull)spec- indicates if zone has been specifiedii- input info- Throws:
QueryException- query exception
-
get
Returns a dateTime item for the specified milliseconds.- Parameters:
ms- milliseconds since January 1, 1970, 00:00:00 GMT- Returns:
- dateTime instance
-