pub(crate) fn decode_date(data: &[u8]) -> Result<NaiveDate, ArrowError>
Decodes a Date from the value section of a variant.