def METHOD_NAME(clazz, date):
    """Get the date range for the month containing the given date.
    The date range will start on the first day of the month and end on the
    last day of the month.
    Args:
        date (datetime.date): a date within the month to get the date range for.
    Returns:
        (DateRange): the date range for a month.
    """
    date_start = datetime.date(date.year, date.month, 1)
    next_month = date.month + 1
    next_month_year = date.year
    if (next_month == 13):
        next_month = 1
        next_month_year += 1
    date_end = datetime.date(next_month_year, next_month, 1) - datetime.timedelta(days=1)
    return DateRange(date_start, date_end)