Function dicom_core::value::partial::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.