Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 526 for Tate (0.33 sec)

  1. 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);
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. 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.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * <p>Rate limiters are often used to restrict the rate at which some physical or logical resource
     * is accessed. This is in contrast to {@link java.util.concurrent.Semaphore} which restricts the
     * number of concurrent accesses instead of the rate (note though that concurrency and rate are
     * closely related, e.g. see <a href="http://en.wikipedia.org/wiki/Little%27s_law">Little's
     * Law</a>).
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java

            asDocMeta().version(version);
        }
    
        public Date getExpires() {
            if (getExpiredTime() == null) {
                return null;
            }
            return new Date(getExpiredTime());
        }
    
        public void setExpires(final Date date) {
            setExpiredTime(date != null ? date.getTime() : null);
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            }).orElse(value);
        }
    
        public static Date date(final Long value) {
            if (value == null) {
                return null;
            }
            return new Date(value);
        }
    
        public static Date parseDate(final String value) {
            return parseDate(value, Constants.DATE_OPTIONAL_TIME);
        }
    
        public static Date parseDate(final String value, final String format) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  6. internal/amztime/iso8601_time_test.go

    	testCases := []struct {
    		date           time.Time
    		expectedOutput string
    	}{
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.940Z",
    		},
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 901303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.901Z",
    		},
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Dec 12 18:28:30 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

            final Date date = toDate("11:49");
            assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("11:49:10");
            assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:10"));
        }
    
        /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CookieTest.kt

      }
    
      @Test fun expiresDate() {
        assertThat(Date(parse(url, "a=b; Expires=Thu, 01 Jan 1970 00:00:00 GMT")!!.expiresAt))
          .isEqualTo(date("1970-01-01T00:00:00.000+0000"))
        assertThat(Date(parse(url, "a=b; Expires=Wed, 09 Jun 2021 10:18:14 GMT")!!.expiresAt))
          .isEqualTo(date("2021-06-09T10:18:14.000+0000"))
        assertThat(Date(parse(url, "a=b; Expires=Sun, 06 Nov 1994 08:49:37 GMT")!!.expiresAt))
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  9. cmd/signature-v4-parser_test.go

    			}
    			// validating presign date field.
    			if testCase.expectedPreSignValues.Date.UTC().Format(iso8601Format) != parsedPreSign.Date.UTC().Format(iso8601Format) {
    				t.Errorf("Test %d: Expected date to be %v, but got %v", i+1, testCase.expectedPreSignValues.Date.UTC().Format(iso8601Format), parsedPreSign.Date.UTC().Format(iso8601Format))
    			}
    		}
    
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/expiration.go

    		return nil
    	}
    	return e.EncodeElement(int(eDays), startElement)
    }
    
    // ExpirationDate is a embedded type containing time.Time to unmarshal
    // Date in Expiration
    type ExpirationDate struct {
    	time.Time
    }
    
    // UnmarshalXML parses date from Expiration and validates date format
    func (eDate *ExpirationDate) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	var dateStr string
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
Back to top