- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for getCurrentTimeAsLocalDateTime (0.13 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
protected UserInfo storeUserInfo(final String userCode) { final UserInfoBhv userInfoBhv = ComponentUtil.getComponent(UserInfoBhv.class); final LocalDateTime now = ComponentUtil.getSystemHelper().getCurrentTimeAsLocalDateTime(); final UserInfo userInfo = userInfoBhv.selectByPK(userCode).map(e -> { e.setUpdatedAt(now); return e; }).orElseGet(() -> {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 29.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
return System.currentTimeMillis(); } /** * Gets the current time as a LocalDateTime object. * * @return The current time. */ public LocalDateTime getCurrentTimeAsLocalDateTime() { final Instant instant = Instant.ofEpochMilli(getCurrentTimeAsLong()); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 43.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
favoriteLog.setDocId(docId); favoriteLog.setQueryId(queryId); favoriteLog.setCreatedAt(systemHelper.getCurrentTimeAsLocalDateTime()); })) { throw new WebApiException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, "Failed to add url: " + favoriteUrl); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 27 13:56:32 GMT 2026 - 55.4K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
assertEquals("guest", systemHelper.getUsername()); } @Test 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);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0)