Expand description
Parsing of primitive values
Enums§
Traits§
- Ten
- A simple trait for types with a decimal form.
Functions§
- parse_
date - Decode a single DICOM Date (DA) into a
chrono::NaiveDatevalue. As per standard, a full 8 byte representation (YYYYMMDD) is required, otherwise, the operation fails. - parse_
date_ partial - 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_
datetime Deprecated - Retrieve a
chrono::DateTimefrom the given text, while assuming the given UTC offset. - parse_
datetime_ partial - Decode the text from the byte slice into a
DicomDateTimevalue, which allows for missing Date / Time components. - parse_
time - Decode a single DICOM Time (TM) into a
chrono::NaiveTimevalue. - parse_
time_ partial - 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. - read_
number - Retrieve an integer in text form.