hours-from-dayTimeDuration


This function extracts the hours component of a dayTimeDuration , as an integer. For example, if the supplied duration is «PT3 6H » , the result will be 12 .

Argument

Data Type

Meaning

input

xdt:yearMonthDuration

The value from which the hours component is to be extracted

Result

xs:integer

The number of hours in the duration, after normalizing it so that 60 minutes is represented as one hour and 24 hours is represented as one day. The value will be negative if the duration is negative




XSLT 2.0 Programmer's Reference
NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)
ISBN: 764569090
EAN: 2147483647
Year: 2003
Pages: 324

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net