commit | 01d49d700e55c3c32b8b1bc2c816be6cc76e6409 | [log] [tgz] |
---|---|---|
author | Daniel Sandler <dsandler@google.com> | Mon Jan 04 16:14:28 2010 -0600 |
committer | Daniel Sandler <dsandler@google.com> | Tue Jan 05 14:46:27 2010 -0500 |
tree | 8f576167547291fdea94bea27bd265aafd608db3 | |
parent | 31e5ba9c7f1205ce4413619752e1ad9e33c51ce1 [diff] |
Fix http://b/2352067 . Time.month ranges over 0..11, not 1..12. Fixed code to deal properly with this. Additionally, months with 31 days will crash. Fixed that too. While we're at it, fix http://b/2354796 (the seconds arc wasn't synchronized with wall-clock seconds). Finally, added a bit of additional crash defense in case of other exceptional situations (e.g. leap seconds, API bugs, solar flares...) Change-Id: If42c8fd408cf6619a16541a9661b39e33c5d47a5