@Test public void parse() { DateOptionFieldAdapter adapter = DateOptionFieldAdapter.builder().build(); checkParse(adapter, "2016-12-31", new DateOption(new Date(2016, 12, 31))); checkParse(adapter, "2017-01-01", new DateOption(new Date(2017, 1, 1))); checkParse(adapter, "2017-01-02", new DateOption(new Date(2017, 1, 2))); }
public static Builder builder() { return new Builder(); }
DateOptionFieldAdapter extends ValueOptionFieldAdapter<DateOption> { public static Builder builder() { return new Builder(); } }
DateOptionFieldAdapter extends ValueOptionFieldAdapter<DateOption> { public static Builder builder() { return new Builder(); } DateOptionFieldAdapter(String nullFormat, String dateFormat); }
DateOptionFieldAdapter extends ValueOptionFieldAdapter<DateOption> { public static Builder builder() { return new Builder(); } DateOptionFieldAdapter(String nullFormat, String dateFormat); static Builder builder(); }
DateOptionFieldAdapter extends ValueOptionFieldAdapter<DateOption> { public static Builder builder() { return new Builder(); } DateOptionFieldAdapter(String nullFormat, String dateFormat); static Builder builder(); static final String DEFAULT_FORMAT; }