3.org/TR/xpath-datamodel#dt-dayTimeDuration"> XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration.
The datatype xdt:dayTimeDuration
is a subtype of xs:duration
whose lexical representation contains only day, hour, minute, and second components. This datatype resides in the namespace http://www.w3.org/2003/11/xpath-datatypes
.
All four values are set and availabe from the created {@link Duration}
The XML Schema specification states that values can be of an arbitrary size. Implementations may chose not to or be incapable of supporting arbitrarily large and/or small values. An {@link UnsupportedOperationException} will be thrown with a message indicating implementation limitsif implementation capacities are exceeded.
@param lexicalRepresentation Lexical representation of a duration.
@return New
Duration
created using the specified
lexicalRepresentation
.
@throws IllegalArgumentException If the given string does not conform to the aforementioned specification.
@throws UnsupportedOperationException If implementation cannot support requested values.
@throws NullPointerException If
lexicalRepresentation
is
null
.