Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for _calendar (0.1 sec)

  1. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

        /**
         * {@link Date}を{@link Calendar}に変換します。
         *
         * @param date
         *            {@link Date}
         * @param locale
         *            ロケール
         * @return 変換された{@link Calendar}
         */
        protected static Calendar toCalendar(final Date date, final Locale locale) {
            final Calendar calendar;
            if (locale == null) {
                calendar = Calendar.getInstance();
            } else {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            Calendar cal = Calendar.getInstance();
            cal.setTimeZone(TimeZone.getTimeZone("Europe/Berlin"));
    
            cal.set(Calendar.HOUR_OF_DAY, 1);
            cal.set(Calendar.MINUTE, 16);
            cal.set(Calendar.SECOND, 0);
            cal.set(Calendar.YEAR, 2014);
            cal.set(Calendar.MONTH, Calendar.JUNE);
            cal.set(Calendar.DATE, 16);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

                url_ = url;
            }
    
            /**
             * @return Returns the cal.
             */
            public Calendar getCal() {
                return cal;
            }
    
            /**
             * @param cal
             *            The cal to set.
             */
            public void setCal(final Calendar cal) {
                this.cal = cal;
            }
        }
    
        /**
         *
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          GregorianCalendar(UTC).apply {
            isLenient = false
            set(Calendar.YEAR, year)
            set(Calendar.MONTH, month - 1)
            set(Calendar.DAY_OF_MONTH, dayOfMonth)
            set(Calendar.HOUR_OF_DAY, hour)
            set(Calendar.MINUTE, minute)
            set(Calendar.SECOND, second)
            set(Calendar.MILLISECOND, 0)
            return timeInMillis
          }
        }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. 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(2026, 3 - 1, 1); // EOL Date
            eolTime = cal.getTimeInMillis();
            if (isEoled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.io.InputStream;
    import java.io.PushbackInputStream;
    import java.io.IOException;
    import java.io.UnsupportedEncodingException;
    import java.util.Calendar;
    import java.util.Date;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    import jcifs.smb1.util.LogStream;
    import jcifs.smb1.util.transport.*;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/MediaType.java

      public static final MediaType HTML_UTF_8 = createConstantUtf8(TEXT_TYPE, "html");
      public static final MediaType I_CALENDAR_UTF_8 = createConstantUtf8(TEXT_TYPE, "calendar");
    
      /**
       * As described in <a href="https://www.rfc-editor.org/rfc/rfc7763.html">RFC 7763</a>, this
       * constant ({@code text/markdown}) is used for Markdown documents.
       *
       * @since 33.3.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top