- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for toPattern (0.03 sec)
-
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
/** * @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"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /** * @throws Exception */ @Test
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.4K bytes - Viewed (0)