# Path: happenings/utils/common.py
# def inc_month(month, year):
#     """
#     Increment the month and, if neccessary, the year.
#     Both month and year should be ints.
#     """
#     month += 1
#     if month > 12:
#         month = 1
#         year += 1
#     return month, year


from datetime import timedelta, date, datetime
from django.utils.timezone import make_aware, get_default_timezone
from django.utils.six.moves import xrange
from happenings.utils.common import inc_month
# Used to generate upcoming events

from __future__ import unicode_literals





class UpcomingEvents(object):
    def __init__(self, event, now, finish, num=5):

# Path: happenings/utils/common.py
# def inc_month(month, year):
#     """
#     Increment the month and, if neccessary, the year.
#     Both month and year should be ints.
#     """
#     month += 1
#     if month > 12:
#         month = 1
#         year += 1
#     return month, year


# Path: happenings/utils/upcoming.py
from datetime import timedelta, date, datetime
from django.utils.timezone import make_aware, get_default_timezone
from django.utils.six.moves import xrange
from happenings.utils.common import inc_month

# Used to generate upcoming events

from __future__ import unicode_literals





class UpcomingEvents(object):
    def __init__(self, event, now, finish, num=5):

        self.event = event