Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToTimestamp_MediumStyle (0.11 sec)

  1. 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:00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToTimestamp_MediumStyle() throws Exception {
            final Timestamp timestamp = toSqlTimestamp("2010/9/7 11:49:10", Locale.JAPAN);
            assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(timestamp), is("2010/09/07 11:49:10"));
    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