- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getCurrentCal (0.15 sec)
-
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
* * @return the delay in milliseconds, or 0 if no rules apply */ protected long getDelay() { if (ruleList.isEmpty()) { return 0; } final Calendar cal = getCurrentCal(); final int h = cal.get(Calendar.HOUR_OF_DAY); final int m = cal.get(Calendar.MINUTE); final int d = cal.get(Calendar.DAY_OF_WEEK); // SUN(1) - SAT(7) for (final IntervalRule rule : ruleList) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
final Date date = new SimpleDateFormat("HH:mm").parse(time); return new IntervalControlHelper() { @Override protected Calendar getCurrentCal() { final Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(date.getTime()); cal.set(Calendar.DAY_OF_WEEK, day); return cal; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0)