@Test public void parse() { DateTimeOptionFieldAdapter adapter = DateTimeOptionFieldAdapter.builder().build(); checkParse(adapter, "2016-12-31 12:34:56", new DateTimeOption(dt(2016, 12, 31, 12, 34, 56))); checkParse(adapter, "2017-01-01 12:34:56", new DateTimeOption(dt(2017, 1, 1, 12, 34, 56))); checkParse(adapter, "2017-01-02 12:34:56", new DateTimeOption(dt(2017, 1, 2, 12, 34, 56))); }
public static Builder builder() { return new Builder(); }
DateTimeOptionFieldAdapter extends ValueOptionFieldAdapter<DateTimeOption> { public static Builder builder() { return new Builder(); } }
DateTimeOptionFieldAdapter extends ValueOptionFieldAdapter<DateTimeOption> { public static Builder builder() { return new Builder(); } DateTimeOptionFieldAdapter(String nullFormat, String dateTimeFormat, String timeZone); }
DateTimeOptionFieldAdapter extends ValueOptionFieldAdapter<DateTimeOption> { public static Builder builder() { return new Builder(); } DateTimeOptionFieldAdapter(String nullFormat, String dateTimeFormat, String timeZone); static Builder builder(); }
DateTimeOptionFieldAdapter extends ValueOptionFieldAdapter<DateTimeOption> { public static Builder builder() { return new Builder(); } DateTimeOptionFieldAdapter(String nullFormat, String dateTimeFormat, String timeZone); static Builder builder(); static final String DEFAULT_FORMAT; }