Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testToDate_FullStyle (0.09 seconds)

  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 testToDate_FullStyle() throws Exception {
            final Date date = toDate("2010年9月7日");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

            df.setTimeZone(TimeZone.getTimeZone("JST"));
            assertThat(df.format(date), is("11:49:10"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_FullStyle() throws Exception {
            final Date date = toDate("11時49分10秒 JST");
            final SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss");
            df.setTimeZone(TimeZone.getTimeZone("JST"));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top