'Constructor.
Args:
time_function: time function to use to obtain current time.'

def __init__(self, time_function=time.time):

    base_handler.BaseHandler.__init__(self)
    self._time = time_function
