Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 234 for gate (0.02 seconds)

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

                final Date date = toDate(str, format);
                if (date != null) {
                    return date;
                }
            }
            final Date date = toDate(str, locale);
            if (date != null) {
                return date;
            }
            final java.sql.Date sqlDate = toSqlDateJdbcEscape(str);
            if (sqlDate != null) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param value the date string to parse
         * @return parsed Date object, or null if parsing fails
         */
        public static Date parseDate(final String value) {
            return parseDate(value, Constants.DATE_OPTIONAL_TIME);
        }
    
        /**
         * Parses a date string using the specified format.
         *
         * @param value the date string to parse
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  3. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

                final Date date = toDate(str, format);
                if (date != null) {
                    return new Timestamp(date.getTime());
                }
            }
            final Date date = toDate(str, locale);
            if (date != null) {
                return new Timestamp(date.getTime());
            }
            final Timestamp timestamp = toSqlTimestampJdbcEscape(str);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

                final SimpleDateFormat format = new SimpleDateFormat(pattern, locale);
                final Date date = toDate(str, format);
                if (date != null) {
                    return new Time(date.getTime());
                }
            }
            final Date date = toDate(str, locale);
            if (date != null) {
                return new Time(date.getTime());
            }
            final Time time = toSqlTimeJdbcEscape(str);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  5. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            Metadata source = createMetadataFromArtifact(artifact);
            Date date = new Date();
            addSnapshotVersion(target.getVersioning(), date, artifact);
            SnapshotVersion sv1 = addSnapshotVersion(source.getVersioning(), date, artifact);
            // although nothing has changed merge returns true, as the last modified date is equal
            // TODO: improve merge here?
            assertTrue(target.merge(source));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/PacLogonInfoTest.java

            when(logonInfo.getLogonTime()).thenReturn(new Date());
            when(logonInfo.getLogoffTime()).thenReturn(new Date());
            when(logonInfo.getKickOffTime()).thenReturn(new Date());
            when(logonInfo.getPwdLastChangeTime()).thenReturn(new Date());
            when(logonInfo.getPwdCanChangeTime()).thenReturn(new Date());
            when(logonInfo.getPwdMustChangeTime()).thenReturn(new Date());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. cmd/signature-v4.go

    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Extract date, if not present throw error.
    	var date string
    	if date = req.Header.Get(xhttp.AmzDate); date == "" {
    		if date = r.Header.Get(xhttp.Date); date == "" {
    			return ErrMissingDateHeader
    		}
    	}
    
    	// Parse date header.
    	t, e := time.Parse(iso8601Format, date)
    	if e != nil {
    		return ErrMalformedDate
    	}
    
    	// Query string.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

        public void testToDate_ShortStyle() throws Exception {
            final Date date = toDate("10/9/7 11:49", Locale.JAPAN);
            assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

        }
    
        /**
         * Gets the received date from a message by parsing the received headers.
         *
         * @param message the message to get the received date from
         * @return the received date or null if not found
         * @throws MessagingException if message access fails
         */
        protected static Date getReceivedDate(final Message message) throws MessagingException {
            final Date today = new Date();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/util/Encdec.java

         */
        public static int enc_time(final Date date, final byte[] dst, final int di, final int enc) {
            long t;
    
            return switch (enc) {
            case TIME_1970_SEC_32BE -> enc_uint32be((int) (date.getTime() / 1000L), dst, di);
            case TIME_1970_SEC_32LE -> enc_uint32le((int) (date.getTime() / 1000L), dst, di);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.5K bytes
    - Click Count (0)
Back to Top