void writeLocalDateTime(int repetitionLevel, LocalDateTime value) {
      long timestamp = value.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli();
      int julianDay = (int) (timestamp / MILLIS_IN_DAY + 2440588L);
      long nanosOfDay =
          timestamp % MILLIS_IN_DAY * NANOS_PER_MILLISECOND
              + value.getNano() % NANOS_PER_MILLISECOND;
      writeBinary(repetitionLevel, julianDay, nanosOfDay);
    }
Writes Julian day and nanoseconds in a day from the local date time
amoro-format-mixed/amoro-mixed-hive/src/main/java/org/apache/iceberg/data/parquet/AdaptHiveBaseParquetWriter.java