Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toSqlTime (0.09 sec)

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

         * @throws Exception
         */
        @Test
        public void testToSqlTime_Null() throws Exception {
            assertThat(toSqlTime(null), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToTime_EmptyString() throws Exception {
            assertThat(toSqlTime(""), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         *
         * @param src
         *            The source object to convert.
         * @return The converted {@link Time}.
         */
        public static Time toSqlTime(final Object src) {
            return toSqlTime(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts the given object to a {@link Time}.
         *
         * @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)
  3. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            } else if (propertyType == java.sql.Date.class) {
                return DateConversionUtil.toSqlDate(arg);
            } else if (propertyType == Time.class) {
                return TimeConversionUtil.toSqlTime(arg);
            }
            return arg;
        }
    
        private Object convertWithString(final Object arg) {
            if (stringConstructor != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top