Validates the time unit against the defined TimeUnit constants. :param time_unit: The time unit to validate. :return: The validated time unit if valid, or None if time_unit is None. :raises ValueError: If the time unit is not valid.
(time_unit: Optional[str])
source not stored for this graph (policy: none)
no outgoing calls