Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToTime_ShortStyle (0.19 sec)

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

        public void testToTime_EmptyString() throws Exception {
            assertThat(toSqlTime(""), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToTime_ShortStyle() throws Exception {
            final Time time = toSqlTime("11:49");
            assertThat(new SimpleDateFormat("HH:mm:ss").format(time), is("11:49:00"));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top