Mercurial > urweb
diff lib/ur/basis.urs @ 1685:225b87d4a7df
Basis.toMilliseconds and diffInMilliseconds, based on a patch from Gergely Buday
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 04 Feb 2012 11:01:06 -0500 |
parents | ac141fbb313a |
children | a1a1d66aebac |
line wrap: on
line diff
--- a/lib/ur/basis.urs Sat Feb 04 10:42:18 2012 -0500 +++ b/lib/ur/basis.urs Sat Feb 04 11:01:06 2012 -0500 @@ -161,6 +161,8 @@ val toSeconds : time -> int val diffInSeconds : time -> time -> int (* Earlier time first *) +val toMilliseconds : time -> int +val diffInMilliseconds : time -> time -> int val timef : string -> time -> string (* Uses strftime() format string *) val readUtc : string -> option time