pub fn encode_date<W>(to: W, date: DicomDate) -> Result<usize>where W: Write,
Encode a single date in accordance to the DICOM Date (DA) value representation.