public void testSerializedUnsupportedDateTimeField() throws Exception { UnsupportedDateTimeField test = UnsupportedDateTimeField.getInstance( DateTimeFieldType.year(), UnsupportedDurationField.getInstance(DurationFieldType.years())); loadAndCompare(test, "UnsupportedDateTimeField", true); inlineCompare(test, true); }
/** @inheritDoc */ public DurationField getDurationField() { return UnsupportedDurationField.getInstance(DurationFieldType.eras()); }
public DurationField getDurationField() { return UnsupportedDurationField.getInstance(DurationFieldType.eras()); }
/** * Get the millis duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField millis() { return UnsupportedDurationField.getInstance(DurationFieldType.millis()); }
/** * Get the seconds duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField seconds() { return UnsupportedDurationField.getInstance(DurationFieldType.seconds()); }
/** * Get the minutes duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField minutes() { return UnsupportedDurationField.getInstance(DurationFieldType.minutes()); }
/** * Get the hours duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField hours() { return UnsupportedDurationField.getInstance(DurationFieldType.hours()); }
/** * Get the halfdays duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField halfdays() { return UnsupportedDurationField.getInstance(DurationFieldType.halfdays()); }
/** * Get the days duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField days() { return UnsupportedDurationField.getInstance(DurationFieldType.days()); }
/** * Get the weeks duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField weeks() { return UnsupportedDurationField.getInstance(DurationFieldType.weeks()); }
/** * Get the weekyears duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField weekyears() { return UnsupportedDurationField.getInstance(DurationFieldType.weekyears()); }
/** * Get the months duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField months() { return UnsupportedDurationField.getInstance(DurationFieldType.months()); }
/** * Get the years duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField years() { return UnsupportedDurationField.getInstance(DurationFieldType.years()); }
/** * Get the centuries duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField centuries() { return UnsupportedDurationField.getInstance(DurationFieldType.centuries()); }
/** * Get the eras duration field for this chronology. * * @return DurationField or UnsupportedDurationField if unsupported */ public DurationField eras() { return UnsupportedDurationField.getInstance(DurationFieldType.eras()); }