adjust-datetime-to-timezone


adjust-date/time-to-timezone

This entry describes a collection of three closely related functions: adjust-date-to-timezone() , adjust-dateTime-to-timezone() , and adjust-time-to-timezone() . These functions have the effect of returning an xs:date , xs:time , or xs:date Time, based on a supplied xs:date , xs:time , or xs:dateTime , modified by adding, removing, or altering the timezone component of the value.

Argument

Data Type

Meaning

input

xs:date?, xs:dateTime?, or xs:time?

The date, time, or dateTime value whose timezone is to be adjusted. The type of this value must correspond to the name of the function invoked, for example in the case of adjust-time-to timezone() it must be an xs:time value

timezone (optional)

xdt:dayTimeDuration

Specifies the new timezone value. If this argument is omitted, the effect is the same as setting it to the result of the function implicit-timezone ()

Result

xs:date?, xs:dateTime?, or xs:time?

The adjusted date, dateTime, or time value.




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