Concerning Time.TimeDiff
Dylan Thurston
dpt@math.harvard.edu
Wed, 18 Jun 2003 19:17:32 +0200
--wchHw8dVAp53YPj8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Jun 18, 2003 at 11:22:55AM +0100, Simon Marlow wrote:
> -- | Convert a 'ClockTime' to a 'CalendarTime' in the current timezone
> clockTimeToCalendarTime :: ClockTime -> IO CalendarTime
>=20
> -- | Convert a 'ClockTime' to a 'CalendarTime' in UTC
> clockTimeToUTCTime :: ClockTime -> CalendarTime
clockTimeToUTCTime also needs to return IO CalendarTime, since it will
certainly need to look up a table of leap seconds.
Peace,
Dylan
--wchHw8dVAp53YPj8
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE+8J6sVeybfhaa3tcRAivOAJ9TL0bf0HnARc3AJ1Hle9b1HezPgwCeIcXC
12DYBVPJOdiTKwLsuZOfXBg=
=AsRb
-----END PGP SIGNATURE-----
--wchHw8dVAp53YPj8--