Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToSqlDate_MediumStyle (0.1 sec)

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

            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToSqlDate_MediumStyle() throws Exception {
            final java.sql.Date date = toSqlDate("2010/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top