- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for currentTimeMillis (0.17 sec)
-
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
encrypted = false; value = System.currentTimeMillis() / 1000 + "\nrole1"; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted); assertEquals(1, roleSet.size()); assertTrue(roleSet.contains("role1")); encrypted = false; value = System.currentTimeMillis() / 1000 + "\nrole1,role2";
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 14.2K bytes - Viewed (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy
new ReleasedVersions(snapshot, rc, versions) } ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) { new ReleasedVersion(version, format.format(new Date(date))) } ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) { releasedVersion("${baseVersion}-${format.format(new Date(date))}", date) }
Registered: Wed Oct 30 11:36:09 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.4K bytes - Viewed (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy
releasedVersionsFile.text == expectedFileContent } ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) { new ReleasedVersion(version, format.format(new Date(date))) } ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) { releasedVersion("${baseVersion}-${format.format(new Date(date))}", date) }
Registered: Wed Oct 30 11:36:09 UTC 2024 - Last Modified: Tue Aug 17 08:32:56 UTC 2021 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
final long current = 1000 * systemHelper.getCurrentTimeAsLocalDateTime().atZone(ZoneId.systemDefault()).toInstant().getEpochSecond(); final long now = System.currentTimeMillis(); assertTrue(now + ">=" + current + " : " + (now - current), now >= current); assertTrue(now - 1000 + "<" + current + " : " + (current - now + 1000), now - 1000 < current); }
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
} public Date getCurrentTime() { return new Date(getCurrentTimeAsLong()); } public long getCurrentTimeAsLong() { return System.currentTimeMillis(); } public LocalDateTime getCurrentTimeAsLocalDateTime() { final Instant instant = Instant.ofEpochMilli(getCurrentTimeAsLong());
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 27.2K bytes - Viewed (0)