Fixed dateformat and added Documentation

The format used to deserialize dates was only allowed in Java 7.