def METHOD_NAME() -> TimeRangeConstraint:
    """Return the range representing all time.
    This could also be represented with None as the ends, but doing this makes the logic simpler in many cases.
    """
    return TimeRangeConstraint(
        start_time=TimeRangeConstraint.ALL_TIME_BEGIN(),
        end_time=TimeRangeConstraint.ALL_TIME_END(),
    )