Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SqlDateConverter (0.14 sec)

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

         *            このコンバータを適用するプロパティ名の並び。各要素は{@literal null}や空文字列であってはいけません
         * @return このインスタンス自身
         * @see SqlDateConverter
         */
        public CopyOptions sqlDateConverter(final String pattern, final CharSequence... propertyNames) {
            assertArgumentNotEmpty("pattern", pattern);
    
            return converter(new SqlDateConverter(pattern), propertyNames);
        }
    
        /**
         * 時間のコンバータを設定します。
         *
         * @param pattern
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

                    is((Object) "19700101"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSqlDateConverter() throws Exception {
            assertThat(new CopyOptions().sqlDateConverter("yyyyMMdd").convertValue(new java.sql.Date(0), "aaa", String.class),
                    is((Object) "19700101"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top