* test for date values.
* @throws Exception if failed
*/
@Test
public void date_values() throws Exception {
assertRestorable(new DateOption(new Date(2011, 3, 31)));
assertRestorable(new DateOption(new Date(1971, 4, 1)));
assertRestorable(new DateOption());
dateFormat = "yyyy-MM\"dd";
assertRestorable(new DateOption(new Date(2011, 3, 31)));
assertRestorable(new DateOption(new Date(1971, 4, 1)));
dateFormat = "yyyy-MM,dd";
assertRestorable(new DateOption(new Date(2011, 3, 31)));
assertRestorable(new DateOption(new Date(1971, 4, 1)));
dateFormat = "yyyy-MM\ndd";
assertRestorable(new DateOption(new Date(2011, 3, 31)));
assertRestorable(new DateOption(new Date(1971, 4, 1)));
dateFormat = "yyyy-MM\rdd";
assertRestorable(new DateOption(new Date(2011, 3, 31)));
assertRestorable(new DateOption(new Date(1971, 4, 1)));
}