Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for timeConverter (0.04 sec)

  1. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         * @return A {@link CopyOptions} with a time converter applied.
         * @see CopyOptions#timeConverter(String, CharSequence...)
         * @see TimeConverter
         */
        public static CopyOptions timeConverter(final String pattern, final CharSequence... propertyNames) {
            return new CopyOptions().timeConverter(pattern, propertyNames);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * @return This instance itself
         * @see TimeConverter
         */
        public CopyOptions timeConverter(final String pattern, final CharSequence... propertyNames) {
            assertArgumentNotEmpty("pattern", pattern);
    
            return converter(new TimeConverter(pattern), propertyNames);
        }
    
        /**
         * Sets a converter for date and time.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

                    is((Object) "19700101"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testTimeConverter() throws Exception {
            assertThat(new CopyOptions().timeConverter("ss").convertValue(new java.sql.Time(0), "aaa", String.class), is((Object) "00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testTimestampConverter() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top