public LocalTime toMemberType(Long val) { if (val == null) { return null; } return LocalTime.ofNanoOfDay(val); }
@Test(groups = {"implementation"}) public void factory_ofNanoOfDay_singletons() { for (int i = 0; i < 24; i++) { LocalTime test1 = LocalTime.ofNanoOfDay(i * 1000000000L * 60L * 60L); LocalTime test2 = LocalTime.of(i, 0); assertSame(test1, test2); } }
public TimePicker() { // Zeit auf 0 setzen timeProperty.set(LocalTime.ofNanoOfDay(0)); createGui(); }