Module dicom_core::value::deserialize
source · Expand description
Parsing of primitive values
Enums
Traits
A simple trait for types with a decimal form.
Functions
Decode a single DICOM Date (DA) into a
chrono::NaiveDate value.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.Retrieve a
chrono::DateTime from the given text, while assuming the given UTC offset.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.Decode a single DICOM Time (TM) into a
chrono::NaiveTime value.Decode a single DICOM Time (TM) into a
DicomTime value.
Unlike parse_time, this method allows for missing Time components.
The precision of the second fraction is stored and can be returned as a range later.Retrieve an integer in text form.