dicom_core::value::serialize

Function encode_date

Source
pub fn encode_date<W>(to: W, date: DicomDate) -> Result<usize>
where W: Write,
Expand description

Encode a single date in accordance to the DICOM Date (DA) value representation.