presto-rcfile/src/main/java/io/prestosql/rcfile/text/DateEncoding.java/DateEncoding/decodeValueInto
class DateEncoding:    @Override
    public void decodeValueInto(int depth, BlockBuilder builder, Slice slice, int offset, int length)
    {
        type.writeLong(builder, parseDate(slice, offset, length));
    }