chronos-0.2.0: A time library, encoding, decoding, and instances

Safe HaskellNone
LanguageHaskell2010

Chronos.Nanoseconds

Contents

Synopsis

Arithmetic

From Duration

These functions are at times convenient, but on a fundamental level, all of them except for fromSeconds are incorrect. If we account for leap seconds, we must acknowledge that not all minutes contain 60 seconds. Some contain 61 seconds, and in the future some may contain 59 seconds.