- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 208 for toInstant (0.1 sec)
-
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery(); boolQueryBuilder .must(QueryBuilders.rangeQuery(FieldNames.TIMESTAMP).lt(time.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli())); boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
map.put(FieldNames.DOC_FREQ, docFreq); map.put(FieldNames.USER_BOOST, userBoost); map.put(FieldNames.SCORE, (queryFreq + docFreq) * userBoost); map.put(FieldNames.TIMESTAMP, timestamp.toInstant().toEpochMilli()); return map; } public static SuggestItem parseSource(final Map<String, Object> source) { final String text = source.get(FieldNames.TEXT).toString();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 20.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java
return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } else if (format.contains("date_optional_time")) { return DateTimeFormatter.ISO_DATE_TIME.format(date); } else { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
return getMavenSession().getRequest().getDegreeOfConcurrency(); } @Nonnull @Override public Instant getStartTime() { return getMavenSession().getRequest().getStartTime().toInstant(); } @Override public Path getRootDirectory() { return getMavenSession().getRequest().getRootDirectory(); } @Override public Path getTopDirectory() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
// See explanation in `org.gradle.api.internal.file.archive.ZipEntryConstants#CONSTANT_TIME_FOR_ZIP_ENTRIES` private val zipEntryBaseTimestamp = LocalDateTime.of(1980, 2, 1, 0, 0, 0) .atZone(ZoneId.systemDefault()).toInstant().toEpochMilli() object Attributes { val artifactType = Attribute.of("artifactType", String::class.java) val minified = Attribute.of("minified", Boolean::class.javaObjectType) } class JarAnalyzer(
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Oct 28 12:55:30 UTC 2024 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java
return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } else if (format.contains("date_optional_time")) { return DateTimeFormatter.ISO_DATE_TIME.format(date); } else { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java
return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } else if (format.contains("date_optional_time")) { return DateTimeFormatter.ISO_DATE_TIME.format(date); } else { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
responseData.setCharSet(getCharset()); responseData.setLastModified(statObject.lastModified() == null ? null : Date.from(statObject.lastModified().toInstant())); responseData.setMimeType(statObject.contentType()); statObject.headers().forEach(e -> responseData.addMetaData(e.getFirst(), e.getSecond())); if (contentLengthHelper != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
} public SuggestDeleteResponse deleteOldWords(final ZonedDateTime threshold) { final long start = System.currentTimeMillis(); final String query = FieldNames.TIMESTAMP + ":[* TO " + threshold.toInstant().toEpochMilli() + "] NOT " + FieldNames.KINDS + ':' + SuggestItem.Kind.USER; deleteByQuery(query); return new SuggestDeleteResponse(null, System.currentTimeMillis() - start); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
} public void test_getCurrentTimeAsLocalDateTime() { final long current = 1000 * systemHelper.getCurrentTimeAsLocalDateTime().atZone(ZoneId.systemDefault()).toInstant().getEpochSecond(); final long now = System.currentTimeMillis(); assertTrue(now + ">=" + current + " : " + (now - current), now >= current);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0)