@Test
public void testPack() {

  LocalDate date = LocalDate.now();
  LocalTime time = LocalTime.now();
  long packed = pack(date, time);
  LocalDate d1 = PackedLocalDate.asLocalDate(date(packed));
  LocalTime t1 = PackedLocalTime.asLocalTime(time(packed));
  assertNotNull(d1);
  assertNotNull(t1);
  assertEquals(date.toString(), d1.toString());
}