if (period >= getTimeUtils().MSEC_PER_DAY) { remainder = period % getTimeUtils().MSEC_PER_DAY; } else if (period >= getTimeUtils().MSEC_PER_HOUR) { remainder = period % getTimeUtils().MSEC_PER_HOUR;
if (periodInMSEC >= getTimeUtils().MSEC_PER_DAY) { remainder = periodInMSEC % getTimeUtils().MSEC_PER_DAY; } else if (periodInMSEC >= getTimeUtils().MSEC_PER_HOUR) { remainder = periodInMSEC % getTimeUtils().MSEC_PER_HOUR;
  private boolean isLegalPeriod(long periodInMSEC) {    long remainder = -1;    if (period >= getTimeUtils().MSEC_PER_DAY) {      remainder = period % getTimeUtils().MSEC_PER_DAY;    } else if (period >= getTimeUtils().MSEC_PER_HOUR) {      remainder = period % getTimeUtils().MSEC_PER_HOUR;    }    return ((periodInMSEC > 0) && (remainder == 0));  }