- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testToDate_FullStyle (0.12 sec)
-
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /** * @throws Exception */ @Test public void testToDate_FullStyle() throws Exception { final Date date = toDate("2010年9月7日"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /** * @throws Exception */
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
df.setTimeZone(TimeZone.getTimeZone("JST")); assertThat(df.format(date), is("11:49:10")); } /** * @throws Exception */ @Test public void testToDate_FullStyle() throws Exception { final Date date = toDate("11時49分10秒 JST"); final SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss"); df.setTimeZone(TimeZone.getTimeZone("JST"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
// assertThat(df.format(date), is("2010/09/07 11:49:10")); // } /** * @throws Exception */ // @Test // public void testToDate_FullStyle() throws Exception { // final Date date = toDate("2010年9月7日 11時49分10秒 JST", Locale.JAPAN); // final SimpleDateFormat df = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.4K bytes - Viewed (0)