| Modifier and Type | Field and Description |
|---|---|
static java.text.SimpleDateFormat |
FORMAT
Unified date format.
|
| Constructor and Description |
|---|
Dtm(byte[] dt,
InputInfo ii)
Constructor.
|
Dtm(Date d)
Constructor.
|
Dtm(Date d,
Dur a,
boolean p,
InputInfo ii)
Constructor.
|
Dtm(long tm,
InputInfo ii)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
parse(java.lang.String date)
Parses the specified date and returns its time in milliseconds.
|
boolean |
sameAs(Expr cmp)
Compares the current and specified expression for equality.
|
bool, comparable, dbl, dec, ebv, equiv, flt, hash, homogenous, input, isItem, item, itemAt, iter, iterable, itr, plan, score, score, serialize, size, test, type, writeTo, xdmInfocache, comp, count, data, description, info, isValue, iter, iterator, removable, remove, uses, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isVacuous, markTailCallspublic Dtm(Date d)
d - datepublic Dtm(byte[] dt, InputInfo ii) throws QueryException
dt - dateii - input infoQueryException - query exceptionpublic Dtm(long tm, InputInfo ii) throws QueryException
tm - milliseconds since January 1, 1970, 00:00:00 GMTii - input infoQueryException - query exceptionpublic Dtm(Date d, Dur a, boolean p, InputInfo ii) throws QueryException
d - datea - durationp - plus/minus flagii - input infoQueryException - query exceptionpublic boolean sameAs(Expr cmp)
Exprpublic static long parse(java.lang.String date)
null if it cannot be converted.date - date to be parsed