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. - parse_datetimeDeprecatedRetrieve a
chrono::DateTimefrom the given text, while assuming the given UTC offset. - Decode the text from the byte slice into a
DicomDateTimevalue, which allows for missing Date / Time components. - 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.