- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for calendar (0.04 sec)
-
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
* Converts a {@link Date} to a {@link Calendar}. * * @param date * {@link Date} * @param locale * Locale * @return The converted {@link Calendar} */ protected static Calendar toCalendar(final Date date, final Locale locale) { final Calendar calendar; if (locale == null) { calendar = Calendar.getInstance(); } else {
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
* Converts a {@link Date} to a {@link Calendar}. * * @param date * {@link Date} * @param locale * Locale * @return The converted {@link Calendar} */ protected static Calendar toCalendar(final Date date, final Locale locale) { final Calendar calendar; if (locale == null) { calendar = Calendar.getInstance(); } else {
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
/** * Converts a {@link Date} to a {@link Calendar}. * * @param date the {@link Date} * @param locale the locale * @return the converted {@link Calendar} */ protected static Calendar toCalendar(final Date date, final Locale locale) { final Calendar calendar; if (locale == null) { calendar = Calendar.getInstance(); } else {
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/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) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
} else if (arg instanceof String && !String.class.equals(propertyType)) { 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) {
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/helper/SystemHelper.java
*/ @PostConstruct public void init() { if (logger.isDebugEnabled()) { logger.debug("Initialize {}", this.getClass().getSimpleName()); } final Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("UTC")); cal.set(2027, 3 - 1, 1); // EOL Date eolTime = cal.getTimeInMillis(); if (isEoled()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0)