Consider leap seconds.

git-svn-id: http://ninja-scan-light.googlecode.com/svn/trunk@213 94d2995a-3457-b8a5-7510-40b377e6a921