- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for formatDate (0.08 sec)
-
okhttp/src/test/java/okhttp3/CacheTest.kt
MockResponse.Builder() .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) .body("ABC") .build(), ) server.enqueue( MockResponse.Builder() .addHeader("Last-Modified: " + formatDate(-5, TimeUnit.MINUTES)) .addHeader("Expires: " + formatDate(2, TimeUnit.HOURS)) .body("DEF") .build(),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java
assertEquals("2004-04-01T12:34:56.123Z", FessFunctions.formatDate(date)); date = FessFunctions.parseDate("2004-04-01T12:34:56Z"); assertEquals("2004-04-01T12:34:56.000Z", FessFunctions.formatDate(date)); date = FessFunctions.parseDate("2004-04-01T12:34Z"); assertEquals("2004-04-01T12:34:00.000Z", FessFunctions.formatDate(date)); date = FessFunctions.parseDate("2004-04-01");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.9K bytes - Viewed (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
SnapshotVersion sv2 = addSnapshotVersion(source.getVersioning(), "jar", after, "1.0-" + formatDate(after, true) + "-2", 2); SnapshotVersion sv3 = addSnapshotVersion(source.getVersioning(), "pom", after, "1.0-" + formatDate(after, true) + "-2", 2); assertTrue(target.merge(source)); Versioning actualVersioning = target.getVersioning();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SearchLogService.java
final Map<String, String> params = new LinkedHashMap<>(); params.put("User Info ID", e.getId()); params.put("Created Time", FessFunctions.formatDate(e.getCreatedAt())); params.put("Updated Time", FessFunctions.formatDate(e.getUpdatedAt())); return params; }).get(); } if (SearchLogPager.LOG_TYPE_CLICK.equalsIgnoreCase(logType)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 28.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} } public static String formatDate(final Date date) { if (date == null) { return StringUtil.EMPTY; } final SimpleDateFormat sdf = new SimpleDateFormat(Constants.ISO_DATETIME_FORMAT); sdf.setTimeZone(Constants.TIMEZONE_UTC); return sdf.format(date); } public static String formatDate(final LocalDateTime date) { if (date == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/fe.tld
</example> </function> <function> <description> Returns formatted date from a given value. </description> <name>formatDate</name> <function-class>org.codelibs.fess.taglib.FessFunctions</function-class> <function-signature>java.lang.String formatDate(java.time.ZonedDateTime, java.lang.String)</function-signature> <example> ${fe:formatDate(d, 'yyyy')} </example> </function>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Dec 23 06:18:48 UTC 2023 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
} protected StringBuilder appendTimestamp(final StringBuilder buf) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); append(buf, "timestamp", () -> FessFunctions.formatDate(systemHelper.getCurrentTime())); return buf; } protected StringBuilder appendException(final StringBuilder buf, final Exception exception) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/AccessTokenService.java
throw new InvalidAccessTokenException("invalid_token", "The token is expired(" + FessFunctions.formatDate(FessFunctions.date(expiredTime)) + ")."); } stream(accessToken.getPermissions()).of(stream -> stream.forEach(permissionSet::add));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
final StringBuilder buf = new StringBuilder(1000); buf.append("url:").append(getUrl(keyObj)); buf.append('\t'); buf.append("time:").append(FessFunctions.formatDate(new Date(time))); return buf; } protected String getUrl(final Object keyObj) { if (keyObj instanceof final UrlQueue<?> urlQueue) { return escapeValue(urlQueue.getUrl());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.9K bytes - Viewed (0)