@Test public void emit() { DateOptionFieldAdapter adapter = DateOptionFieldAdapter.builder().build(); checkEmit(adapter, new DateOption(new Date(2016, 12, 31)), "2016-12-31"); checkEmit(adapter, new DateOption(new Date(2017, 1, 1)), "2017-01-01"); checkEmit(adapter, new DateOption(new Date(2017, 1, 2)), "2017-01-02"); }
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; }