Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 126 for toInstant (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java

            map.put(FieldNames.USER_BOOST, item.getUserBoost());
            map.put(FieldNames.SCORE, (item.getQueryFreq() + item.getDocFreq()) * item.getUserBoost());
            map.put(FieldNames.TIMESTAMP, item.getTimestamp().toInstant().toEpochMilli());
            return map;
        }
    
        /**
         * Parses a source map from OpenSearch and creates a SuggestItem.
         *
         * @param source The source map from OpenSearch
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java

                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            } else if (format.contains("date_optional_time")) {
                return DateTimeFormatter.ISO_DATE_TIME.format(date);
            } else {
                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionQuery.java

                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            } else if (format.contains("date_optional_time")) {
                return DateTimeFormatter.ISO_DATE_TIME.format(date);
            } else {
                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                responseData.setCharSet(getCharset());
                responseData.setLastModified(
                        blob.getUpdateTimeOffsetDateTime() == null ? null : Date.from(blob.getUpdateTimeOffsetDateTime().toInstant()));
                responseData.setMimeType(blob.getContentType());
    
                if (contentLengthHelper != null) {
                    final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        @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)
  6. src/test/java/jcifs/FileNotifyInformationTest.java

        class FilterFlagsTests {
    
            @Test
            @DisplayName("Verify FILE_NOTIFY_CHANGE_FILE_NAME constant value")
            void testFileNotifyChangeFileName() {
                assertEquals(0x00000001, FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME);
            }
    
            @Test
            @DisplayName("Verify FILE_NOTIFY_CHANGE_DIR_NAME constant value")
            void testFileNotifyChangeDirName() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/ACETest.java

            @DisplayName("Access constants should be powers of 2")
            void shouldBeValidPowersOfTwo(int constant) {
                assertTrue(constant > 0, "Constant should be positive");
                assertEquals(0, constant & (constant - 1), "Constant should be power of 2: " + Integer.toHexString(constant));
            }
    
            @ParameterizedTest
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  8. api/go1.5.txt

    pkg go/constant, const Bool = 1
    pkg go/constant, const Bool Kind
    pkg go/constant, const Complex = 5
    pkg go/constant, const Complex Kind
    pkg go/constant, const Float = 4
    pkg go/constant, const Float Kind
    pkg go/constant, const Int = 3
    pkg go/constant, const Int Kind
    pkg go/constant, const String = 2
    pkg go/constant, const String Kind
    pkg go/constant, const Unknown = 0
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/Constants.java

        /** String constant representing boolean true value. */
        public static final String TRUE = "true";
    
        /** String constant representing boolean false value. */
        public static final String FALSE = "false";
    
        /** Boolean constant representing true value. */
        public static final Boolean T = true;
    
        /** Boolean constant representing false value. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals("correct", f.apply(new Object()));
        assertEquals("correct", f.apply(null));
    
        Function<@Nullable Object, @Nullable String> g = Functions.constant(null);
        assertThat(g.apply(2)).isNull();
        assertThat(g.apply(null)).isNull();
    
        new EqualsTester()
            .addEqualityGroup(f, Functions.constant("correct"))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
Back to Top