dicom_core::value::partial

Function check_component

Source
pub fn check_component<T>(
    component: DateComponent,
    value: &T,
) -> Result<(), Error>
where T: Into<u32> + Copy,
Expand description

Throws a detailed InvalidComponent error if date / time components are out of range.