def METHOD_NAME(interval, point):
    """ used to say if a point is in an interval
        interval is a regular string
        point is the "hour" value of a date
    """
    interval = string2timeinterval(interval)
    point = TimePoint(point)
    if not interval:
        return False
    if not point:
        return False
    for segment in interval.segments:
        if point >= segment.start and point <= segment.end:
            return True
    return False