Package org.basex.query.value.item
Class ADateDur
- java.lang.Object
-
- org.basex.query.expr.ExprInfo
-
- org.basex.query.expr.Expr
-
- org.basex.query.value.Value
-
- org.basex.query.value.item.Item
-
- org.basex.query.value.item.ADateDur
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract long
day()
Returns the days.abstract long
hour()
Returns the hours (0-23).abstract long
minute()
Returns the minutes (0-59).abstract long
mon()
Returns the months.abstract BigDecimal
sec()
Returns the seconds (0-59), including the fractional part.abstract long
yea()
Returns the years.-
Methods inherited from class org.basex.query.value.item.Item
atomicEqual, atomItem, atomValue, bool, cache, comparable, compare, dbl, ddo, dec, deepEqual, description, equal, flt, hash, input, instanceOf, isItem, item, itemAt, iter, itr, materialize, materialized, refineType, refineType, reverse, sameType, score, seqType, size, string, stringInput, subsequence, test, toXml, typeId, write, xdmInfo
-
Methods inherited from class org.basex.query.value.Value
accept, checkUp, compile, copy, count, exprSize, has, inline, inlineable, isEmpty, iter, iterator, refineType, serialize, serialize, serialize, toJava, value
-
Methods inherited from class org.basex.query.expr.Expr
arg, args, atomIter, data, equals, funcType, hasFreeVars, indexAccessible, info, isSimple, markTailCalls, mergeEbv, optimize, optimizePos, simplify, simplifyFor, typeCheck, uses, vacuous, visitAll
-
Methods inherited from class org.basex.query.expr.ExprInfo
info, toErrorString, toString, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
yea
public abstract long yea()
Returns the years.- Returns:
- year
-
mon
public abstract long mon()
Returns the months.- Returns:
- year
-
day
public abstract long day()
Returns the days.- Returns:
- day
-
hour
public abstract long hour()
Returns the hours (0-23).- Returns:
- day
-
minute
public abstract long minute()
Returns the minutes (0-59).- Returns:
- day
-
sec
public abstract BigDecimal sec()
Returns the seconds (0-59), including the fractional part.- Returns:
- day
-
-