Mercurial > hg > mpdl-group
comparison software/eXist/webapp/mpdl/util/time.xql @ 7:5589d865af7a
Erstellung XQL/XSL Applikation
author | Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 08 Feb 2011 15:16:46 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6:2396a569e446 | 7:5589d865af7a |
---|---|
1 xquery version "1.0"; | |
2 | |
3 module namespace mpdl-time = "http://www.mpiwg-berlin.mpg.de/ns/mpdl/util/time"; | |
4 | |
5 declare function mpdl-time:duration-as-ms($t) { | |
6 round((minutes-from-duration($t) * 60 + seconds-from-duration($t)) * 1000 ) | |
7 }; |