def relativestring(
            self, now=None, minimum=10, maximum=3600 * 24 * 30,
            pattern="%Y-%m-%d", timezone=None, maxunits=1):

        if now is None:
            now = time.time()
        if timezone is None:
            timezone = self.timezone

        diff = now - (self.__timestamp__ - timezone)
        future = diff < 0
        diff = abs(diff)

        if diff < minimum:
            return "just now"
        if diff > maximum and maximum > 0:
            return self.timestring(pattern)

        timestring = ChronykDelta(diff).timestring(maxunits=maxunits)
        if timestring == "1 day":
            return "tomorrow" if future else "yesterday"

        if future:
            return "in {}".format(timestring)
        else:
            return "{} ago".format(timestring)
Initializes the reader.
dataset/ETHPy150Open KoffeinFlummi/Chronyk/chronyk/chronyk.py/Chronyk.relativestring--crossover with--dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/builtin_monitors/linux_process_metrics.py/StatReader.__init__