org.basex.query.xquery.item
Class Dtm
java.lang.Object
org.basex.query.ExprInfo
org.basex.query.xquery.expr.Expr
org.basex.query.xquery.item.Item
org.basex.query.xquery.item.Date
org.basex.query.xquery.item.Dtm
public final class Dtm
- extends Date
DateTime item.
- Author:
- Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen
Field Summary |
static java.text.SimpleDateFormat |
DATE
Slider width. |
Fields inherited from class org.basex.query.xquery.item.Date |
df, xc |
Fields inherited from class org.basex.query.xquery.item.Item |
type |
Constructor Summary |
Dtm(byte[] dt)
Constructor. |
Dtm(Date d)
Constructor. |
Dtm(Date d,
Dur a,
boolean p)
Constructor. |
Dtm(Dec tm)
Constructor. |
Methods inherited from class org.basex.query.xquery.item.Item |
bool, castErr, comp, d, dbl, dec, flt, hash, i, iter, iter, itr, n, name, node, plan, returned, s, score, score, serialize, size, u, uses |
Methods inherited from class org.basex.query.xquery.expr.Expr |
e |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATE
public static final java.text.SimpleDateFormat DATE
- Slider width.
Dtm
public Dtm(Date d)
- Constructor.
- Parameters:
d
- date
Dtm
public Dtm(byte[] dt)
throws XQException
- Constructor.
- Parameters:
dt
- date
- Throws:
XQException
- evaluation exception
Dtm
public Dtm(Dec tm)
throws XQException
- Constructor.
- Parameters:
tm
- time in milliseconds
- Throws:
XQException
- evaluation exception
Dtm
public Dtm(Date d,
Dur a,
boolean p)
throws XQException
- Constructor.
- Parameters:
d
- datea
- durationp
- plus/minus flag
- Throws:
XQException
- evaluation exception