- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for dayjs (0.19 sec)
-
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
assertNull(spec.keyStrength); assertNull(spec.valueStrength); assertEquals(TimeUnit.DAYS, spec.writeExpirationTimeUnit); assertEquals(10L, spec.writeExpirationDuration); assertNull(spec.accessExpirationTimeUnit); assertCacheBuilderEquivalence( CacheBuilder.newBuilder().expireAfterWrite(10L, TimeUnit.DAYS), CacheBuilder.from(spec)); } public void testParse_writeExpirationHours() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 19.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
DurationSpec.of(0, SECONDS), DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS))) .withExpireAfterAccesses( ImmutableSet.of( DurationSpec.of(0, SECONDS), DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS))) .withRefreshes(ImmutableSet.of(DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS))); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SearchLogService.java
private SystemHelper systemHelper; @Resource protected FessConfig fessConfig; public void deleteBefore(final int days) { searchLogBhv.queryDelete(cb -> { cb.query().setRequestedAt_LessEqual(systemHelper.getCurrentTimeAsLocalDateTime().minusDays(days)); }); } public List<?> getSearchLogList(final SearchLogPager pager) { final EsPagingResultBean<?> list;
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 28.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// DurationSpec.of(500, MILLISECONDS), DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS))) .withExpireAfterAccesses( ImmutableSet.of( // DurationSpec.of(500, MILLISECONDS), DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS))) .withRefreshes( ImmutableSet.of( // DurationSpec.of(500, MILLISECONDS),
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/JobLogService.java
cb.query().addOrderBy_EndTime_Desc(); // search } public void deleteBefore(final int days) { final long oneday = 24 * 60 * 60 * 1000L; final long targetTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - days * oneday; jobLogBhv.queryDelete(cb -> { cb.query().setEndTime_LessThan(targetTime); }); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
cal.setTimeInMillis(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()); return cal; } public void addIntervalRule(final String from, final String to, final String days, final long delay) { ruleList.add(new IntervalRule(from, to, days, delay)); } public boolean isCrawlerRunning() { return crawlerRunning; } public void setCrawlerRunning(final boolean crawlerRunning) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Stopwatch.java
return Platform.formatCompact4Digits(value) + " " + abbreviate(unit); } private static TimeUnit chooseUnit(long nanos) { if (DAYS.convert(nanos, NANOSECONDS) > 0) { return DAYS; } if (HOURS.convert(nanos, NANOSECONDS) > 0) { return HOURS; } if (MINUTES.convert(nanos, NANOSECONDS) > 0) { return MINUTES; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Nov 15 21:38:09 GMT 2022 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
assertNull(spec.keyStrength); assertNull(spec.valueStrength); assertEquals(TimeUnit.DAYS, spec.writeExpirationTimeUnit); assertEquals(10L, spec.writeExpirationDuration); assertNull(spec.accessExpirationTimeUnit); assertCacheBuilderEquivalence( CacheBuilder.newBuilder().expireAfterWrite(10L, TimeUnit.DAYS), CacheBuilder.from(spec)); } public void testParse_writeExpirationHours() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 19.2K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
* <p>The set of supported keys will grow as {@code CacheBuilder} evolves, but existing keys will * never be removed. * * <p>Durations are represented by an integer, followed by one of "d", "h", "m", or "s", * representing days, hours, minutes, or seconds respectively. (There is currently no syntax to * request expiration in milliseconds, microseconds, or nanoseconds.) *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} public static String formatDuration(final long durationMillis) { return DurationFormatUtils.formatDuration(durationMillis, "d 'days' HH:mm:ss.SSS").replace("0 days", StringUtil.EMPTY).trim(); } public static String formatNumber(final long value, final String pattern) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.9K bytes - Viewed (0)