@Test public void timezone() { DateTimeOptionFieldAdapter adapter = DateTimeOptionFieldAdapter.builder() .withTimeZone("UTC") .build(); equivalent(adapter, "2017-01-02 12:34:56", new DateTimeOption(dt(2017, 1, 2, 12 - 8, 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; }