ieb/sparsemapcontent — Issue #131: Add native support for full Calendar objects
Author: ieb
Created: 2011-11-24 07:05:00+00:00
State: open

java.util.Calendar is Ok, but it doesn't support calendars that are all day and respect timezones. We have a class, ISO8601Date that does this, and lists far more compactly when output in Json, we should use this in preference to Calendar.

This means adding a new primitive type with ID = 8 ISO8601DateType and a new array type with ID = 1008 ISO8601DateArrayType. They need to be of higher selection preference to the Calendar types so that objects of type ISO8601 dont default to Calendar and loose information. The change will be backwards compatible, able to read old data, but where ISO8601 data is written older versions of the code wont be able to read those blocks.