pub fn parse_date(buf: &[u8]) -> Result<NaiveDate, Error>
Decode a single DICOM Date (DA) into a chrono::NaiveDate value. As per standard, a full 8 byte representation (YYYYMMDD) is required, otherwise, the operation fails.
chrono::NaiveDate