Support very large (or very small) years

This fixes issue #30.
Merge pull request #31 from Wikidata/issue-#30

Support very large (or very small) years