@Override
    public void write(int repetitionLevel, T value) {
      if (value instanceof OffsetDateTime) {
        writeOffsetDateTime(repetitionLevel, (OffsetDateTime) value);
      } else if (value instanceof LocalDateTime) {
        writeLocalDateTime(repetitionLevel, (LocalDateTime) value);
      } else if (value instanceof Long) {
        writeLong(repetitionLevel, (Long) value);
      } else {
        throw new InvalidParameterException("unrecognized type: " + value.getClass());
      }
    }
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