Mercurial > hg > svcore
diff base/RealTime.h @ 439:beb2948baa77
* Merge revisions 1041 to 1130 from sv-rdf-import branch
author | Chris Cannam |
---|---|
date | Thu, 18 Sep 2008 12:09:32 +0000 |
parents | a38cd7823cb2 |
children | 81963c51b488 |
line wrap: on
line diff
--- a/base/RealTime.h Thu Aug 07 16:06:59 2008 +0000 +++ b/base/RealTime.h Thu Sep 18 12:09:32 2008 +0000 @@ -49,6 +49,9 @@ static RealTime fromSeconds(double sec); static RealTime fromMilliseconds(int msec); static RealTime fromTimeval(const struct timeval &); + static RealTime fromXsdDuration(std::string xsdd); + + double toDouble() const; RealTime &operator=(const RealTime &r) { sec = r.sec; nsec = r.nsec; return *this;