Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for toate (0.01 sec)

  1. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

         */
        //    @Test
        //    public void testToDate_Null() throws Exception {
        //        assertThat(toDate(null, Locale.JAPAN), is(nullValue()));
        //    }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_EmptyString() throws Exception {
            assertThat(toDate("", Locale.JAPAN), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

         */
        public static Date toDate(final Object src) {
            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts an object to {@link Date}.
         *
         * @param src the source object
         * @param pattern the pattern string
         * @return the converted {@link Date}
         */
        public static Date toDate(final Object src, final String pattern) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         *
         * @param src
         *            The source object to convert.
         * @return The converted {@link Date}.
         */
        public static Date toDate(final Object src) {
            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
         * @param src
         *            The source object to convert.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         *
         * @param src
         *            The source object to convert.
         * @return The converted {@link Date}.
         */
        public static Date toDate(final Object src) {
            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
         * @param src
         *            The source object to convert.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                try {
                    return TimestampConversionUtil.toDate(arg);
                } catch (final ParseRuntimeException ex) {
                    try {
                        return DateConversionUtil.toDate(arg);
                    } catch (final ParseRuntimeException ex2) {
                        return TimeConversionUtil.toDate(arg);
                    }
                }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

            return new String[] { str };
        }
    
        protected LocalDateTime toLocalDateTime(Object value) {
            return DfTypeUtil.toLocalDateTime(value);
        }
    
        protected Date toDate(Object value) {
            return DfTypeUtil.toDate(value);
        }
    
        protected SearchHits getSearchHits(final SearchResponse response) {
            SearchHits hits = response.getHits();
            if (hits == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

            return new String[] { str };
        }
    
        protected LocalDateTime toLocalDateTime(Object value) {
            return DfTypeUtil.toLocalDateTime(value);
        }
    
        protected Date toDate(Object value) {
            return DfTypeUtil.toDate(value);
        }
    
        protected SearchHits getSearchHits(final SearchResponse response) {
            SearchHits hits = response.getHits();
            if (hits == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

            return new String[] { str };
        }
    
        protected LocalDateTime toLocalDateTime(Object value) {
            return DfTypeUtil.toLocalDateTime(value);
        }
    
        protected Date toDate(Object value) {
            return DfTypeUtil.toDate(value);
        }
    
        protected SearchHits getSearchHits(final SearchResponse response) {
            SearchHits hits = response.getHits();
            if (hits == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  9. README.md

    Integer nullValue = IntegerConversionUtil.toInteger(null);     // Returns null
    Boolean flag = BooleanConversionUtil.toBoolean("true");        // Returns true
    Date date = DateConversionUtil.toDate("2023-12-25", "yyyy-MM-dd");
    
    // Primitive conversions with default values
    int primitiveInt = IntegerConversionUtil.toPrimitiveInt(value, "0");  // Default to 0 if null
    ```
    
    ### Collection Utilities with Java 21 Support
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top