Constructor and Description |
---|
Dtm(ADate date)
Constructor.
|
Dtm(byte[] date,
InputInfo ii)
Constructor.
|
Dtm(Dat date,
Tim time,
InputInfo ii)
Constructor.
|
Dtm(Dtm date,
Dur dur,
boolean plus,
InputInfo ii)
Constructor.
|
Dtm(long ms,
InputInfo ii)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
sameAs(Expr cmp)
Compares the current and specified expression for equality.
|
void |
timeZone(DTDur zone,
boolean spec,
InputInfo ii)
Adjusts the timezone.
|
day, diff, dpm, eq, hash, hou, min, mon, sec, string, 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, typeCheck, uses, visitAll
public Dtm(ADate date)
date
- datepublic Dtm(Dat date, Tim time, InputInfo ii) throws QueryException
date
- datetime
- timeii
- input infoQueryException
- query exceptionpublic Dtm(byte[] date, InputInfo ii) throws QueryException
date
- dateii
- input infoQueryException
- query exceptionpublic Dtm(long ms, InputInfo ii) throws QueryException
ms
- milliseconds since January 1, 1970, 00:00:00 GMTii
- input infoQueryException
- query exceptionpublic Dtm(Dtm date, Dur dur, boolean plus, InputInfo ii) throws QueryException
date
- datedur
- durationplus
- plus/minus flagii
- input infoQueryException
- query exceptionpublic void timeZone(DTDur zone, boolean spec, InputInfo ii) throws QueryException
ADate
timeZone
in class ADate
zone
- timezonespec
- indicates if zone has been specified (may be null
)ii
- input infoQueryException
- query exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.