- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for toCalendar (0.07 sec)
-
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
if (date != null) { return toCalendar(date, locale); } } final Date date = toDate(str, locale); if (date != null) { return toCalendar(date, locale); } final Time time = toSqlTimeJdbcEscape(str); if (time != null) { return toCalendar(time, locale); } throw new ParseRuntimeException(str);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
if (date != null) { return toCalendar(date, locale); } } final Date date = toDate(str, locale); if (date != null) { return toCalendar(date, locale); } final Timestamp timestamp = toSqlTimestampJdbcEscape(str); if (timestamp != null) { return toCalendar(timestamp, locale); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
*/ public static Calendar toCalendar(final Object src) { return toCalendar(src, null, LocaleUtil.getDefault()); } /** * Converts an object to {@link Calendar}. * * @param src the source object * @param pattern the pattern string * @return the converted {@link Date} */ public static Calendar toCalendar(final Object src, final String pattern) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 19.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
return (T) convertWithString(arg); } else if (java.util.Calendar.class.isAssignableFrom(propertyType)) { return (T) CalendarConversionUtil.toCalendar(arg); } return (T) arg; } private Object convertPrimitiveWrapper(final Object arg) { return NumberConversionUtil.convertPrimitiveWrapper(propertyType, arg); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
if (value == null) { return null; } try { if (PDF_DATE.equals(format)) { final Calendar cal = DateConverter.toCalendar(value); return cal != null ? cal.getTime() : null; } final long time = Joda.forPattern(format).parseMillis(value); return new Date(time);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1)