APISonar


tech.tablesaw.columns.datetimes.PackedLocalDateTime.time

> tech > tablesaw > columns > datetimes > PackedLocalDateTime > time
tech APIs tablesaw APIs columns APIs datetimes APIs PackedLocalDateTime APIs time APIs

Example 1
public void testPack() {
    LocalTime time = LocalTime.now();
    int packed = pack(time);

    LocalTime t1 = asLocalTime(PackedLocalDateTime.time(packed));
    assertNotNull(t1);
    assertEquals(time.getHour(), t1.getHour());
    assertEquals(time.getMinute(), t1.getMinute());
    assertEquals(time.getSecond(), t1.getSecond());
    assertEquals(time.get(ChronoField.MILLI_OF_SECOND), t1.get(ChronoField.MILLI_OF_SECOND));
  }