Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testToPlainPattern (0.07 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 testToPlainPattern() throws Exception {
            assertThat(toPlainPattern("y/M/d"), is("yyMMdd"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

            assertThat(new SimpleDateFormat("HH:mm:ss").format(time), is("11:49:10"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToPlainPattern() throws Exception {
            assertThat(toPlainPattern("H:m:s"), is("HHmmss"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

            assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(timestamp), is("2010/09/07 11:49:10"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToPlainPattern() throws Exception {
            assertThat(toPlainPattern("y/M/d H:m:s"), is("yyMMdd HHmmss"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top