Search in sources :

Example 1 with UnsupportedDateTimeField

use of org.joda.time.field.UnsupportedDateTimeField in project joda-time by JodaOrg.

the class TestSerialization method testSerializedUnsupportedDateTimeField.

public void testSerializedUnsupportedDateTimeField() throws Exception {
    UnsupportedDateTimeField test = UnsupportedDateTimeField.getInstance(DateTimeFieldType.year(), UnsupportedDurationField.getInstance(DurationFieldType.years()));
    loadAndCompare(test, "UnsupportedDateTimeField", true);
    inlineCompare(test, true);
}
Also used : UnsupportedDateTimeField(org.joda.time.field.UnsupportedDateTimeField)

Aggregations

UnsupportedDateTimeField (org.joda.time.field.UnsupportedDateTimeField)1