pub fn parse_date_partial(buf: &[u8]) -> Result<(DicomDate, &[u8]), Error>
Expand description
Decode a single DICOM Date (DA) into a DicomDate
value.
Unlike parse_date
, this method accepts incomplete dates such as YYYY and YYYYMM
The precision of the value is stored.