- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 32 for calendarEl (0.06 seconds)
-
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
final Calendar calendar = toCalendar("10/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(calendar.getTime()), is("2010/09/07")); } /** * @throws Exception */ @Test public void testToCalendar_MediumStyle() throws Exception { final Calendar calendar = toCalendar("2010/9/7");
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
public void testToCalendar_ShortStyle() throws Exception { final Calendar calendar = toCalendar("11:49"); assertThat(new SimpleDateFormat("HH:mm:ss").format(calendar.getTime()), is("11:49:00")); } /** * @throws Exception */ @Test public void testToCalendar_MediumStyle() throws Exception { final Calendar calendar = toCalendar("11:49:10");
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 9.5K bytes - Click Count (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);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
final Date date = new Date(); final Calendar cal = CalendarConversionUtil.toCalendar(date); assertEquals(date, cal.getTime()); } /** * * @throws Exception */ @Test public void testLocalize() throws Exception { final Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("JST")); final Calendar local = CalendarConversionUtil.localize(calendar);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (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 {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 19.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 11K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java
} ) public String range; @Param({ "java time", "es" }) public String rounder; @Param({ "UTC", "America/New_York" }) public String zone; @Param({ "calendar year", "calendar hour", "10d", "5d", "1h" }) public String interval; @Param({ "1", "10000", "1000000", "100000000" }) public int count; private long min; private long max; private long[] dates;Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 16:53:28 GMT 2021 - 4.1K bytes - Click Count (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; } }; } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
benchmarks/README.md
``` The benchmark code defines default values for the parameters so if you leave out any out JMH will run with each default value, one after the other. This will run with `interval` set to `calendar year` then `calendar hour` then `10d` then `5d` then `1h`: ``` gradlew -p benchmarks/ run --args 'RoundingBenchmark.round -prounder=es -prange="2000-10-01 to 2000-11-01" -pzone=America/New_York -pcount=1000000' ```
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon May 03 15:30:50 GMT 2021 - 5.9K bytes - Click Count (0)