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::NaiveDatevalue. - Decode a single DICOM Date (DA) into a
DicomDatevalue. Unlikeparse_date, this method accepts incomplete dates such as YYYY and YYYYMM The precision of the value is stored. - Retrieve a
chrono::DateTimefrom the given text, while assuming the given UTC offset. - Decode text into a
DicomDateTimevalue. Unlikeparse_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 provideddt_utc_offsetvalue. - Decode a single DICOM Time (TM) into a
chrono::NaiveTimevalue. - Decode a single DICOM Time (TM) into a
DicomTimevalue. Unlikeparse_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.