def _seconds_to_multiple()

in common/time_interval.py [0:0]


    def _seconds_to_multiple(self, unit: TimeUnit) -> int:
        if unit == TimeUnit.SECONDS:
            return 1
        if unit == TimeUnit.MINUTES:
            return 60
        if unit == TimeUnit.HOURS:
            return 3600
        elif unit == TimeUnit.DAYS:
            return 3600 * 24
        else:
            raise NotImplementedError('Programmer failed to add a enum option.')