presto-rcfile/src/main/java/io/prestosql/rcfile/binary/DateEncoding.java/DateEncoding/encodeValueInto
class DateEncoding:    @Override
    public void encodeValueInto(Block block, int position, SliceOutput output)
    {
        writeVInt(output, (int) type.getLong(block, position));
    }