Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toCalendar (0.18 sec)

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

         */
        @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()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    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)
  2. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

         */
        @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()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    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)
  3. src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java

         */
        public static Calendar toCalendar(final Object o) {
            return toCalendar(o, null);
        }
    
        /**
         * {@link Calendar}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Calendar}
         */
        public static Calendar toCalendar(final Object o, final String pattern) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar() throws Exception {
            final Date date = new Date();
            final Calendar cal = CalendarConversionUtil.toCalendar(date);
            assertEquals(date, cal.getTime());
        }
    
        /**
         *
         * @throws Exception
         */
        @Test
        public void testLocalize() throws Exception {
    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