- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for addIntervalRule (0.07 sec)
-
IntervalControlHelperTest.java
intervalControlHelper = createHelper("00:00", 1); L41: intervalControlHelper.addIntervalRule("01:30", "15:15", "*", 1000); L42: assertEquals(0, intervalControlHelper.getDelay()); L43: L44: intervalControlHelper.addIntervalRule("16:30", "0:15", "*", 2000); L45: assertEquals(2000, intervalControlHelper.getDelay()); L46: L47: intervalControlHelper.ruleList.clear(); L48: L49: intervalControlHelper.addIntervalRule("22:15", "2:45", "1", 3000); L50: assertEquals(0, interva...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.2K bytes -
IntervalControlHelper.java
protected Calendar getCurrentCal() { L64: final Calendar cal = Calendar.getInstance(); L65: cal.setTimeInMillis(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()); L66: return cal; L67: } L68: L69: public void addIntervalRule(final String from, final String to, final String days, final long delay) { L70: ruleList.add(new IntervalRule(from, to, days, delay)); L71: } L72: L73: public boolean isCrawlerRunning() { L74: return crawlerRunning; L75: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 5.8K bytes