Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for calendar (0.38 sec)

  1. src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java

                final Calendar cal = Calendar.getInstance();
                cal.setTime(date);
                return cal;
            }
            return null;
        }
    
        /**
         * ローカルの{@link TimeZone}と{@link Locale}をもつ{@link Calendar}に変換します。
         *
         * @param calendar
         *            {@link Calendar}
         * @return 変換された{@link Calendar}
         */
        public static Calendar localize(final Calendar calendar) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

            } else if (UPDATE_POLICY_DAILY.equals(updatePolicy)) {
                // Get local midnight boundary
                Calendar cal = Calendar.getInstance();
    
                cal.set(Calendar.HOUR_OF_DAY, 0);
                cal.set(Calendar.MINUTE, 0);
                cal.set(Calendar.SECOND, 0);
                cal.set(Calendar.MILLISECOND, 0);
    
                if (cal.getTime().after(lastModified)) {
                    checkForUpdates = true;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

            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");
            assertThat(new SimpleDateFormat("HH:mm:ss").format(calendar.getTime()), is("11:49:10"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. 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");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. 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);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/main/webapp/css/admin/plugins/daterangepicker/daterangepicker.css

    L109:}
    L110:
    L111:.daterangepicker .drp-calendar {
    L112:  display: none;
    L113:  max-width: 270px;
    L114:}
    L115:
    L116:.daterangepicker .drp-calendar.left {
    L117:  padding: 8px 0 8px 8px;
    L118:}
    L119:
    L120:.daterangepicker .drp-calendar.right {
    L121:  padding: 8px;
    L122:}
    L123:
    L124:.daterangepicker .drp-calendar.single .calendar-table {
    L125:  border: none;
    L126:}
    L127:
    L128:.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span {
    L129:  color: #fff;
    ...
    CSS
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 04:21:06 GMT 2020
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            }
        }
    
        protected long getDelay() {
            if (ruleList.isEmpty()) {
                return 0;
            }
            final Calendar cal = getCurrentCal();
            final int h = cal.get(Calendar.HOUR_OF_DAY);
            final int m = cal.get(Calendar.MINUTE);
            final int d = cal.get(Calendar.DAY_OF_WEEK); // SUN(1) - SAT(7)
            for (final IntervalRule rule : ruleList) {
                if (rule.isTarget(h, m, d)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. 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;
                }
            };
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top