- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 46 for getUptime (0.08 sec)
-
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
*/ @Test public void testToCalendar() throws Exception { final Date date = new Date(); final Calendar cal = CalendarConversionUtil.toCalendar(date); assertEquals(date, cal.getTime()); } /** * * @throws Exception */ @Test public void testLocalize() throws Exception { final Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("JST"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
return new IntervalControlHelper() { @Override protected Calendar getCurrentCal() { final Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(date.getTime()); cal.set(Calendar.DAY_OF_WEEK, day); return cal; } }; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
final ResponseData responseData = httpClient.doHead(url); Thread.sleep(100); assertNotNull(responseData.getLastModified()); assertTrue(responseData.getLastModified().getTime() < new Date().getTime()); } finally { server.stop(); } } public void test_doGet_accessTimeoutTarget() { HcHttpClient client = new HcHttpClient() { @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:28:25 UTC 2024 - 8.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java
if (getExpiredTime() == null) { return null; } return new Date(getExpiredTime()); } public void setExpires(final Date date) { setExpiredTime(date != null ? date.getTime() : null); } @Override public String toString() { return "AccessToken [name=" + name + ", token=" + token + ", permissions=" + Arrays.toString(permissions) + ", parameterName="
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
} final ResponseData responseData = fsClient.doHead("file:" + path); assertNotNull(responseData.getLastModified()); assertTrue(responseData.getLastModified().getTime() < new Date().getTime()); assertNull(responseData.getResponseBody()); } public void test_doHead_dir() throws Exception { final File file = ResourceUtil.getResourceAsFile("test");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java
return Long.toString(date.getTime()); } else if (format.contains("date_optional_time")) { final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); sdf.setTimeZone(TimeZone.getTimeZone("UTC")); return sdf.format(date); } else { return Long.toString(date.getTime()); } }
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/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java
if (file.exists()) { reloadableFile = file; dictionaryTimestamp = reloadableFile.lastModified(); reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis(); if (VERBOSE) { System.out.println("Check " + reloadableFile.getAbsolutePath() + " (interval: " + reloadInterval + "ms)");
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java
if (pattern != null) { return new BigDecimal(new SimpleDateFormat(pattern).format(o)); } return new BigDecimal(Long.toString(((java.util.Date) o).getTime())); } else if (o instanceof String) { final String s = (String) o; if (StringUtil.isEmpty(s)) { return null; } return normalize(new BigDecimal(s));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java
return project; } /** * Gets the wall time of the project in milliseconds. * * @return The wall time of the project in milliseconds. */ public long getTime() { return execTime; } /** * Gets the exec time of the project in milliseconds. * * @return The exec time of the project in milliseconds. */ public long getWallTime() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
} catch (final Exception e) { throw new IllegalArgumentException("Failed to read " + filePath, e); } reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis(); } else { reader = Analysis.getReaderFromFile(env, settings, "synonyms_path"); } } else {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 6.7K bytes - Viewed (0)