public static void writeDateTime64(OutputStream output, LocalDateTime value, TimeZone tz) throws IOException {
        writeDateTime64(output, value, 3, tz);
    }
Write a {@link java.time.LocalDateTime} to given output stream. Same as
{@code writeDateTime64(output, value, 3)}.

@param output non-null output stream
@param value  local datetime
@param tz     time zone, null is treated as UTC
@throws IOException when failed to write value to output stream or reached
                    end of the stream
clickhouse-data/src/main/java/com/clickhouse/data/format/BinaryStreamUtils.java