- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for calendar (0.26 sec)
-
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
} } return 0; } /** * Gets the current calendar instance set to the system time. * * @return the current calendar instance */ protected Calendar getCurrentCal() { final Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()); return cal; } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.9K bytes - Viewed (0) -
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/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
final Calendar calendar = toCalendar("10/9/7 11:49", Locale.JAPAN); assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(calendar.getTime()), is("2010/09/07 11:49:00")); } /** * @throws Exception */ @Test public void testToCalendar_MediumStyle() throws Exception { final Calendar calendar = toCalendar("2010/9/7 11:49:10", Locale.JAPAN);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.4K 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/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 11K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
return new IntervalControlHelper() { @Override protected Calendar getCurrentCal() { final Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(date.getTime()); cal.set(Calendar.DAY_OF_WEEK, day); return cal; } }; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.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 (0) -
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)