- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for ONE_DAY_IN_MILLIS (0.09 seconds)
-
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
long diff7 = result7 - result0; assertTrue("1 day should be approximately ONE_DAY_IN_MILLIS", Math.abs(diff1 - Constants.ONE_DAY_IN_MILLIS) < 10000); assertTrue("7 days should be approximately 7 * ONE_DAY_IN_MILLIS", Math.abs(diff7 - 7 * Constants.ONE_DAY_IN_MILLIS) < 10000); } catch (Exception e) { // If method doesn't exist or cannot be accessed, just verify it doesn't crashCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/Constants.java
/** Process type for both crawling and displaying operations. */ public static final String PROCESS_TYPE_BOTH = "B"; /** Number of milliseconds in one day. */ public static final long ONE_DAY_IN_MILLIS = 24L * 60L * 60L * 1000L; /** Guest user identifier. */ public static final String GUEST_USER = "guest"; /** Conversion rule array for pager components. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 35.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
*/ protected long getExpiredTime(final int days) { final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); return now + days * Constants.ONE_DAY_IN_MILLIS; } /** * Retrieves all crawling information parameters for the specified session as a map. * * @param sessionId the session ID to retrieve parameters forCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 15.2K bytes - Click Count (0)