Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for getDate (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            // Should return 0 when auto-connect fails due to missing project ID
            long lastModified = conn.getLastModified();
            assertEquals(0, lastModified);
        }
    
        /**
         * Test that getDate() delegates to getLastModified().
         */
        public void test_getDate_delegatesToGetLastModified() throws Exception {
            URL url = new URL("gcs://mybucket/object.txt");
            Handler handler = new Handler();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            // Should return 0 when auto-connect fails due to missing endpoint
            long lastModified = conn.getLastModified();
            assertEquals(0, lastModified);
        }
    
        /**
         * Test that getDate() delegates to getLastModified().
         */
        public void test_getDate_delegatesToGetLastModified() throws Exception {
            URL url = new URL("storage://mybucket/object.txt");
            Handler handler = new Handler();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

             * This method returns the same value as getLastModified().
             *
             * @return The date in milliseconds since epoch
             */
            @Override
            public long getDate() {
                return getLastModified();
            }
    
            /**
             * Returns the last modified date of the GCS object.
             * @return The last modified date in milliseconds since epoch.
             */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

             * This method returns the same value as getLastModified().
             *
             * @return The date in milliseconds since epoch
             */
            @Override
            public long getDate() {
                return getLastModified();
            }
    
            /**
             * Returns the last modified date of the S3 object.
             * @return The last modified date in milliseconds since epoch.
             */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

             * This method returns the same value as getLastModified().
             *
             * @return The date in milliseconds since epoch
             */
            @Override
            public long getDate() {
                return getLastModified();
            }
    
            /**
             * Returns the last modified date of the storage object.
             * @return The last modified date in milliseconds since epoch.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getPath()) && StringUtil.isEmpty(pi.getName())) {
                return StringUtil.EMPTY;
            }
            if (StringUtil.isEmpty(pi.getPath())) {
                return pi.getName();
            }
            return pi.getPath() + "/" + pi.getName();
        }
    
        /**
         * Converts an encoded ID to a PathInfo object containing path and name.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        checkThreadPoolName(thread3, 1);
        assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-')))
            .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
      }
    
      private static void checkThreadPoolName(Thread thread, int threadId) {
        assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$");
      }
    
      public void testNameFormatWithPercentS_custom() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        checkThreadPoolName(thread3, 1);
        assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-')))
            .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
      }
    
      private static void checkThreadPoolName(Thread thread, int threadId) {
        assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$");
      }
    
      public void testNameFormatWithPercentS_custom() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/FileUtilTest.java

            final byte[] bytes = FileUtil.readBytes(file, Long.MAX_VALUE);
            assertThat(new String(bytes, "UTF-8"), is(content));
        }
    
        private String getPath(final String fileName) {
            return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        for (ClassPath.ClassInfo classInfo : classes) {
          if (classInfo.getName().equals(cls.getName())) {
            return classInfo;
          }
        }
        throw new AssertionError("failed to find " + cls);
      }
    
      private static ResourceInfo resourceInfo(Class<?> cls) {
        String resource = cls.getName().replace('.', '/') + ".class";
        ClassLoader loader = cls.getClassLoader();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top