Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testToCalendar (0.21 sec)

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

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar_Null() throws Exception {
            assertThat(toCalendar(null), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar_EmptyString() throws Exception {
            assertThat(toCalendar(""), is(nullValue()));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        //    @Test
        //    public void testToCalendar_Null() throws Exception {
        //        assertThat(toCalendar(null, Locale.JAPAN), is(nullValue()));
        //    }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar_EmptyString() throws Exception {
            assertThat(toCalendar("", Locale.JAPAN), is(nullValue()));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar_Null() throws Exception {
            assertThat(toCalendar(null), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar_EmptyString() throws Exception {
            assertThat(toCalendar(""), is(nullValue()));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            TimeZone.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar() throws Exception {
            final Date date = new Date();
            final Calendar cal = CalendarConversionUtil.toCalendar(date);
            assertEquals(date, cal.getTime());
        }
    
        /**
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top