It looks like Elasticsearch 5 only allows years in the range [-292275055,292278994].
This is probably also true for ES6, and maybe also for ES7.
Let's add a test and document that.