public static LocalDate readDate(ClickHouseInputStream input)
            throws IOException {
        return LocalDate.ofEpochDay(readUnsignedInt16(input));
    }
Read {@link java.time.LocalDate} from given input stream.

@param input non-null input stream
@return local date
@throws IOException when failed to read value from input stream or reached
                    end of the stream
clickhouse-data/src/main/java/com/clickhouse/data/format/BinaryStreamUtils.java