Module dicom_core::value::range

source ·
Expand description

Handling of date, time, date-time ranges. Needed for range matching. Parsing into ranges happens via partial precision structures (DicomDate, DicomTime, DicomDatime) so ranges can handle null components in date, time, date-time values.

Structs

Enums

Traits

  • The DICOM protocol accepts date / time values with null components.

Functions

  • Looks for a range separator ‘-’. Returns a DateRange.
  • Looks for a range separator ‘-’. Returns a DateTimeRange. Users are advised, that for very specific inputs, inconsistent behavior can occur. This behavior can only be produced when all of the following is true:
  • Looks for a range separator ‘-’. Returns a TimeRange.