- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testToDate_ShortStyle (0.21 sec)
-
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
@Test public void testToDate_EmptyString() throws Exception { assertThat(toDate(""), is(nullValue())); } /** * @throws Exception */ @Test public void testToDate_ShortStyle() throws Exception { System.out.println(((SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL)).toPattern()); final Date date = toDate("10/9/7");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
@Test public void testToDate_EmptyString() throws Exception { assertThat(toDate(""), is(nullValue())); } /** * @throws Exception */ @Test public void testToDate_ShortStyle() throws Exception { final Date date = toDate("11:49"); assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:00")); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.5K bytes - Viewed (0)