org.basex.query.item
Class Dtm

java.lang.Object
  extended by org.basex.query.ExprInfo
      extended by org.basex.query.expr.Expr
          extended by org.basex.query.item.Item
              extended by org.basex.query.item.Date
                  extended by org.basex.query.item.Dtm

public final class Dtm
extends Date

DateTime item.

Author:
Workgroup DBIS, University of Konstanz 2005-09, ISC License, Christian Gruen

Field Summary
static java.text.SimpleDateFormat DATE
          Slider width.
 
Fields inherited from class org.basex.query.item.Date
df, xc
 
Fields inherited from class org.basex.query.item.Item
type
 
Constructor Summary
Dtm(byte[] dt)
          Constructor.
Dtm(Date d)
          Constructor.
Dtm(Date d, Dur a, boolean p)
          Constructor.
 
Method Summary
 
Methods inherited from class org.basex.query.item.Date
days, diff, eq, java, seconds, str, toString
 
Methods inherited from class org.basex.query.item.Item
atomic, bool, castErr, comp, d, dbl, dec, duplicates, ebv, flt, hash, i, iter, iter, itr, n, name, node, plan, removable, returned, s, score, score, serialize, test, u, uses
 
Methods inherited from class org.basex.query.expr.Expr
addText, checkCtx, checkDbl, checkItr, e, indexAccessible, indexEquivalent, remove, sameAs, size
 
Methods inherited from class org.basex.query.ExprInfo
color, info
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATE

public static final java.text.SimpleDateFormat DATE
Slider width.

Constructor Detail

Dtm

public Dtm(Date d)
Constructor.

Parameters:
d - date

Dtm

public Dtm(byte[] dt)
    throws QueryException
Constructor.

Parameters:
dt - date
Throws:
QueryException - evaluation exception

Dtm

public Dtm(Date d,
           Dur a,
           boolean p)
    throws QueryException
Constructor.

Parameters:
d - date
a - duration
p - plus/minus flag
Throws:
QueryException - evaluation exception