':param int limit: The number of data items to process in the current        round of processing.
:param tuple upper_date_limit: The date at which to stop collecting        new data. This should be entered as a tuple which can serve as the        argument to `datetime.datetime`.        E.g. `date_limit=(2015, 4, 1, 12, 40)` for 12:30 pm on April 1 2015.
:param tuple lower_date_limit: The date at which to stop collecting        new data. See `upper_data_limit` for formatting.'

def __init__(self, limit=20, upper_date_limit=None, lower_date_limit=None):

    BasicTweetHandler.__init__(self, limit)
    self.upper_date_limit = None
    self.lower_date_limit = None
    if upper_date_limit:
        self.upper_date_limit = datetime(tzinfo=LOCAL, *upper_date_limit)
    if lower_date_limit:
        self.lower_date_limit = datetime(tzinfo=LOCAL, *lower_date_limit)
    self.startingup = True
