Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setTimestamp (0.09 sec)

  1. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

        @Test
        void mergeSnapshotWithEmptyList() throws Exception {
            Snapshot snapshot = new Snapshot();
            snapshot.setBuildNumber(3);
            snapshot.setTimestamp("20200710.072412");
            target.getVersioning().setSnapshot(snapshot);
            target.getVersioning().setLastUpdated("20200921071745");
            SnapshotVersion sv = new SnapshotVersion();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    	if s, ok := v.ToString(); ok {
    		t, err := parseSQLTimestamp(s)
    		if err != nil {
    			return err
    		}
    		v.setTimestamp(t)
    	} else if b, ok := v.ToBytes(); ok {
    		s := string(b)
    		t, err := parseSQLTimestamp(s)
    		if err != nil {
    			return err
    		}
    		v.setTimestamp(t)
    	}
    	return nil
    }
    
    // inferTypeAsString is used to convert untyped values to string - it
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  3. api/maven-api-metadata/src/main/mdo/metadata.mdo

                        }
    
                        // overwrite
                        if ( s.getTimestamp() == null ? snapshot.getTimestamp() != null
                            : !s.getTimestamp().equals( snapshot.getTimestamp() ) )
                        {
                            s.setTimestamp( snapshot.getTimestamp() );
                            changed = true;
                            updateSnapshotVersions = true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

        }
    
        public float getUserBoost() {
            return userBoost;
        }
    
        public ZonedDateTime getTimestamp() {
            return timestamp;
        }
    
        public void setText(final String text) {
            this.text = text;
        }
    
        public void setTimestamp(final ZonedDateTime timestamp) {
            this.timestamp = timestamp;
        }
    
        public void setQueryFreq(final long queryFreq) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());
                    if (matcher.matches()) {
                        Snapshot snapshot = new Snapshot();
                        snapshot.setTimestamp(matcher.group(2));
                        try {
                            snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            if (snapshot != null && versioning.getSnapshotVersions().isEmpty()) {
                String version = artifact.getVersion();
                if (snapshot.getTimestamp() != null && snapshot.getBuildNumber() > 0) {
                    String qualifier = snapshot.getTimestamp() + '-' + snapshot.getBuildNumber();
                    version = version.substring(0, version.length() - SNAPSHOT.length()) + qualifier;
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            secondLine.put("tags", item.getTags());
            secondLine.put("roles", item.getRoles());
            secondLine.put("kinds", Arrays.toString(item.getKinds()));
            secondLine.put("@timestamp", item.getTimestamp());
    
            try (OutputStream out1 = getXContentOutputStream(firstLineMap); OutputStream out2 = getXContentOutputStream(secondLine)) {
                return ((ByteArrayOutputStream) out1).toString(CoreLibConstants.UTF_8) + '\n'
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            }
    
            if (file.isFile()) {
                responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
                responseData.setCharSet(Constants.UTF_8);
                responseData.setLastModified(file.getTimestamp().getTime());
    
                // check file size
                responseData.setContentLength(file.getSize());
                checkMaxContentLength(responseData);
    
                if (file.getUser() != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

                long ts = ( System.currentTimeMillis() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601 ) * 10000;
                if ( haveTimestamp ) {
                    ts = ( (AvTimestamp) AvPairs.get(avPairs, AvPair.MsvAvTimestamp) ).getTimestamp();
                }
    
                setNTResponse(
                    getNTLMv2Response(tc, type2, responseKeyNT, ntlmClientChallenge, makeAvPairs(tc, targetName, avPairs, haveTimestamp, ts), ts));
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
Back to top