Determine if rollover should occur. record is not used, as we are just comparing times, but it is needed so the method signatures are the same
logging.handlers/TimedRotatingFileHandler.shouldRollover
TimedRotatingFileHandler.shouldRollover