@Test void testNullDatetime() { assertNull(AcceptDatetime.valueOf(null), "Check null datetime"); }
public static AcceptDatetime valueOf(final String value) { if (value != null) { final Instant time = parseDatetime(value); if (time != null) { return new AcceptDatetime(time); } } return null; }
AcceptDatetime { public static AcceptDatetime valueOf(final String value) { if (value != null) { final Instant time = parseDatetime(value); if (time != null) { return new AcceptDatetime(time); } } return null; } }
AcceptDatetime { public static AcceptDatetime valueOf(final String value) { if (value != null) { final Instant time = parseDatetime(value); if (time != null) { return new AcceptDatetime(time); } } return null; } AcceptDatetime(final Instant datetime); }
AcceptDatetime { public static AcceptDatetime valueOf(final String value) { if (value != null) { final Instant time = parseDatetime(value); if (time != null) { return new AcceptDatetime(time); } } return null; } AcceptDatetime(final Instant datetime); Instant getInstant(); @Override String toString(); static AcceptDatetime valueOf(final String value); }
AcceptDatetime { public static AcceptDatetime valueOf(final String value) { if (value != null) { final Instant time = parseDatetime(value); if (time != null) { return new AcceptDatetime(time); } } return null; } AcceptDatetime(final Instant datetime); Instant getInstant(); @Override String toString(); static AcceptDatetime valueOf(final String value);  }