File: fn-hours-from-duration1args-2.xq

package info (click to toggle)
qtxmlpatterns-opensource-src 5.15.15-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 308,860 kB
  • sloc: xml: 360,343; cpp: 91,994; ansic: 388; sh: 53; sed: 31; makefile: 23
file content (10 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
(:*******************************************************:)
(:Test: hours-from-duration1args-2                        :)
(:Written By: Carmelo Montanez                            :)
(:Date: Wed Apr 13 09:47:37 GMT-05:00 2005                :)
(:Purpose: Evaluates The "hours-from-duration" function  :)
(: with the arguments set as follows:                    :)
(:$arg = xs:dayTimeDuration(mid range)                  :)
(:*******************************************************:)

fn:hours-from-duration(xs:dayTimeDuration("P15DT11H59M59S"))