Function dicom_core::value::deserialize::parse_datetime_partial
source · pub fn parse_datetime_partial(
buf: &[u8],
dt_utc_offset: FixedOffset
) -> Result<DicomDateTime, Error>Expand description
Decode text into a DicomDateTime value.
Unlike parse_datetime, this method allows for missing Date / Time components.
The precision of the second fraction is stored and can be returned as a range later.
If a UTC offset is present, it will override the provided dt_utc_offset value.