@Test void mapTime() { TimeMapper mapper = new TimeMapper(); LocalTime result = mapper.mapTime(OffsetDateTime.of(2020, 1, 1, 1, 1, 1, 1, ZoneOffset.UTC)); assertEquals(LocalTime.of(1, 1, 1, 1), result); }
public LocalTime mapTime(OffsetDateTime time) { if (time == null) { return null; } return time.toLocalTime(); }
TimeMapper { public LocalTime mapTime(OffsetDateTime time) { if (time == null) { return null; } return time.toLocalTime(); } }
TimeMapper { public LocalTime mapTime(OffsetDateTime time) { if (time == null) { return null; } return time.toLocalTime(); }  }
TimeMapper { public LocalTime mapTime(OffsetDateTime time) { if (time == null) { return null; } return time.toLocalTime(); }  LocalTime mapTime(OffsetDateTime time); }
TimeMapper { public LocalTime mapTime(OffsetDateTime time) { if (time == null) { return null; } return time.toLocalTime(); }  LocalTime mapTime(OffsetDateTime time);  }