org.basex.query.xquery.item
Class Tim

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

public final class Tim
extends Date

Time item.

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.basex.query.xquery.expr.Expr
Expr.Return, Expr.Using
 
Field Summary
 
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
Tim(byte[] tim)
          Constructor.
Tim(Date d)
          Constructor.
Tim(Tim d, DTd a, boolean p)
          Constructor.
 
Method Summary
 
Methods inherited from class org.basex.query.xquery.item.Date
days, diff, eq, java, seconds, str, toString
 
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 org.basex.query.ExprInfo
color, info
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tim

public Tim(Date d)
Constructor.

Parameters:
d - date

Tim

public Tim(Tim d,
           DTd a,
           boolean p)
    throws XQException
Constructor.

Parameters:
d - date
a - duration to be added/subtracted
p - plus/minus flag
Throws:
XQException - evaluation exception

Tim

public Tim(byte[] tim)
    throws XQException
Constructor.

Parameters:
tim - time
Throws:
XQException - evaluation exception