class PackedLocalDateTime extends PackedInstant {

  public static LocalDateTime asLocalDateTime(long dateTime) {
    if (dateTime == missingValueIndicator()) {
      return null;
    }
    int date = date(dateTime);
    int time = time(dateTime);
    LocalDate d = PackedLocalDate.asLocalDate(date);
    LocalTime t = PackedLocalTime.asLocalTime(time);
    if (d == null || t == null) {
      return null;
    }
    return LocalDateTime.of(d, t);
  }

  private  PackedLocalDateTime();

}