- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for toCalendar (0.05 seconds)
-
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 */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 9.4K bytes - Click Count (0) -
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 */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java
*/ public static Calendar toCalendar(final Object o) { return toCalendar(o, null); } /** * Converts to {@link Calendar}. * * @param o * The object to convert * @param pattern * The pattern string * @return The converted {@link Calendar} */ public static Calendar toCalendar(final Object o, final String pattern) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.4K bytes - Click Count (0) -
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 {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0)