Details
Description
java.util.Date supports representation of dates between -296,000,000 to 296,000,000 years.
The current implementation of date output in the getcapabilities response for time extent does not properly encode these values according to the WMS specification (section D2.2, pp 57-58).
Attached patch ensures this with a new formatter (SimpleDateFormat cannot support this format directly) and verifies compliance with the extended ISO8601 format in the TimeKvpParserTest.
As far as I can see it looks good, but it adds code doing the proper formatting of dates without testing it (the test is for the parsing, but there is no testing for the capabilities document contents)