months-from-yearMonthDuration


This function extracts the months component of a yearMonthDuration , as an integer between -11 and +11. For example, if the supplied argument is «P18M » , the result is 6 .

Argument

Data Type

Meaning

input

xdt:yearMonthDuration

The value from which the months component is to be extracted

Result

xs:integer

The number of months in the duration, after normalizing it so the number of months is less than 12. 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