Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for Date (0.16 sec)

  1. 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)
  2. internal/bucket/object/lock/lock.go

    	// ErrInvalidRetentionDate - indicates that retention date needs to be in ISO 8601 format
    	ErrInvalidRetentionDate = errors.New("date must be provided in ISO 8601 format")
    	// ErrPastObjectLockRetainDate - indicates that retention date must be in the future
    	ErrPastObjectLockRetainDate = errors.New("the retain until date must be in the future")
    	// ErrUnknownWORMModeDirective - indicates that the retention mode is invalid
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadataGenerator.java

        private final Map<Object, RemoteSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
        private final Integer buildNumber;
    
        RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
            Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadataGenerator.java

            versions = new LinkedHashMap<>();
            processedVersions = new LinkedHashMap<>();
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            /*
             * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadataGenerator.java

        private final Map<Object, LocalSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
        LocalSnapshotMetadataGenerator(RepositorySystemSession session, InstallRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            snapshots = new LinkedHashMap<>();
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CacheTest.kt

      }
    
      /**
       * For Last-Modified and Date headers, we should echo the date back in the exact format we were
       * served.
       */
      @Test
      fun retainServedDateFormat() {
        // Serve a response with a non-standard date format that OkHttp supports.
        val lastModifiedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-1))
        val servedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-2))
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        private var servedDate: Date? = null
        private var servedDateString: String? = null
    
        /** The last modified date of the cached response, if known. */
        private var lastModified: Date? = null
        private var lastModifiedString: String? = null
    
        /**
         * The expiration date of the cached response, if known. If both this field and the max age are
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

        private final Path path;
    
        protected final Date timestamp;
    
        private boolean merged;
    
        @Deprecated
        protected MavenMetadata(Metadata metadata, File file, Date timestamp) {
            this(metadata, file != null ? file.toPath() : null, timestamp);
        }
    
        protected MavenMetadata(Metadata metadata, Path path, Date timestamp) {
            this.metadata = metadata;
            this.path = path;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. cmd/post-policy_test.go

    	// Add the algorithm condition, only accept AWS SignV4 Sha256.
    	algorithmConditionStr := `["eq", "$x-amz-algorithm", "AWS4-HMAC-SHA256"]`
    	// Add the date condition, only accept the current date.
    	dateConditionStr := fmt.Sprintf(`["eq", "$x-amz-date", "%s"]`, t.Format(iso8601DateFormat))
    	// Add the credential string, only accept the credential passed.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadata.java

            }
        }
    
        private final PluginInfo pluginInfo;
    
        PluginsMetadata(PluginInfo pluginInfo, Date timestamp) {
            super(createRepositoryMetadata(pluginInfo), (Path) null, timestamp);
            this.pluginInfo = pluginInfo;
        }
    
        PluginsMetadata(PluginInfo pluginInfo, Path path, Date timestamp) {
            super(createRepositoryMetadata(pluginInfo), path, timestamp);
            this.pluginInfo = pluginInfo;
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top