Implemented the DvDate type. Note there is a lot in this from the Java
implementation that is not in the spec.