- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 437 for getDate (0.06 sec)
-
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
} @Test fun setDate() { val expected = Date(1000) val headers = Headers.Builder() .add("testDate", Date(0L)) .set("testDate", expected) .build() assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT") assertThat(headers.getDate("testDate")).isEqualTo(expected) } @Test fun setInstant() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/date.js
h=Math.floor((f.getTime()-e.getTime())/864e5),i=g+h/(c(f.getFullYear())?366:365),j=((i+"").split(".")[1]||"").substr(0,3);return i>=0?Math.floor(i)+(j>=915?1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMonth()}a.formUtils.registerLoadedModule("date"),a.formUtils.addValidator({name:"time",validatorFunction:function(a){if(null===a.match(/^(\d{2}):(\d{2})$/))return!1;var b=parseInt(a.split(":")[0],10),c=parseInt(a.split(":")[1],...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java
return null; } } @Override public long getDate() { return getLastModified(); } @Override public long getLastModified() { if (minioClient == null) { return 0; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
* */ @Override public Object getData(final AccessResultData<?> accessResultData) { // check transformer name if (!getName().equals(accessResultData.getTransformerName())) { throw new CrawlerSystemException( "Transformer is invalid. Use " + accessResultData.getTransformerName() + ". This transformer is " + getName() + "."); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java
/* * (non-Javadoc) * * @see * org.codelibs.fess.crawler.transformer.Transformer#getData(org.codelibs.fess.crawler.entity * .AccessResultData) */ @Override public Object getData(final AccessResultData<?> accessResultData) { // check transformer name if (!getName().equals(accessResultData.getTransformerName())) { throw new CrawlerSystemException(
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java
/* * (non-Javadoc) * * @see * org.codelibs.fess.crawler.transformer.Transformer#getData(org.codelibs.fess.crawler.entity * .AccessResultData) */ @Override public Object getData(final AccessResultData<?> accessResultData) { // check transformer name if (!getName().equals(accessResultData.getTransformerName())) { throw new CrawlerSystemException(
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
} /** * @throws Exception */ @Test public void testReadUTF8() throws Exception { assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ")); } private String getPath(final String fileName) { return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
final PathInfo pi = convertToItem(id); if (StringUtil.isEmpty(pi.getName())) { throwValidationErrorApi(messages -> messages.addErrorsStorageFileNotFound(GLOBAL)); } return asStream(pi.getName()).contentTypeOctetStream().stream(out -> { try { downloadObject(getObjectName(pi.getPath(), pi.getName()), out); } catch (final StorageException e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
extractorFactory.addExtractor("text/html", tikaExtractor); } public void test_name() { assertEquals("textTransformer", textTransformer.getName()); } public void test_transform_text() throws Exception { final byte[] data = new String("xyz").getBytes(); final ResponseData responseData = new ResponseData();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.6K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
return properties; } else if ("getUserProperties".equals(method.getName())) { return Map.of(); } else if ("getService".equals(method.getName())) { if (args[0] == ToolchainsXmlFactory.class) { return toolchainsXmlFactory;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0)