| Constructor and Description |
|---|
Dur(byte[] v,
InputInfo ii)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
day()
Returns the days.
|
int |
diff(InputInfo ii,
Item it)
Returns the difference between the current and the specified item.
|
boolean |
eq(InputInfo ii,
Item it)
Checks the items for equality.
|
int |
hash(InputInfo ii)
Returns a hash code for this value.
|
long |
hou()
Returns the hours.
|
long |
min()
Returns the minutes.
|
int |
mon()
Returns the months.
|
java.math.BigDecimal |
sec()
Returns the seconds.
|
byte[] |
string(InputInfo ii)
Returns a string representation of the value.
|
javax.xml.datatype.Duration |
toJava()
Returns a Java representation of the value.
|
java.lang.String |
toString() |
int |
yea()
Returns the years.
|
bool, comparable, dbl, dec, ebv, equiv, flt, 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, markTailCalls, sameAspublic Dur(byte[] v, InputInfo ii) throws QueryException
v - valueii - input infoQueryException - query exceptionpublic final int yea()
public final int mon()
public final long day()
public final long hou()
public final long min()
public final java.math.BigDecimal sec()
public byte[] string(InputInfo ii)
Itempublic final boolean eq(InputInfo ii, Item it) throws QueryException
Itemeq in class Itemii - input infoit - item to be comparedQueryException - query exceptionpublic int diff(InputInfo ii, Item it) throws QueryException
Itemdiff in class Itemii - input infoit - item to be comparedQueryException - query exceptionpublic final javax.xml.datatype.Duration toJava()
Valuepublic final int hash(InputInfo ii)
Value