- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setTimeZone (0.5 sec)
-
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
*/ @Test public void testToDate_LongStyle() throws Exception { final Date date = toDate("11:49:10 JST"); final SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss"); df.setTimeZone(TimeZone.getTimeZone("JST")); assertThat(df.format(date), is("11:49:10")); } /** * @throws Exception */ @Test public void testToDate_FullStyle() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
if (date == null) { return StringUtil.EMPTY; } final SimpleDateFormat sdf = new SimpleDateFormat(Constants.ISO_DATETIME_FORMAT); sdf.setTimeZone(Constants.TIMEZONE_UTC); return sdf.format(date); } /** * Formats a LocalDateTime object to ISO datetime string format. * * @param date the LocalDateTime to format
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (0)