assertEquals("inline", field.getDispositionType());
}
public void testDateStringDateTimeZone() throws Exception {
DateTimeField field = Fields.date("Date", new Date(0), TimeZone
.getTimeZone("GMT"));
assertTrue(field.isValidField());
assertEquals("Date: Thu, 1 Jan 1970 00:00:00 +0000", decode(field
));
assertEquals(new Date(0), field.getDate());
field = Fields.date("Resent-Date", new Date(0), TimeZone
.getTimeZone("GMT+1"));
assertTrue(field.isValidField());
assertEquals("Resent-Date: Thu, 1 Jan 1970 01:00:00 +0100",
decode(field));
assertEquals(new Date(0), field.getDate());
}