Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for get_dates (0.17 sec)

  1. hack/boilerplate/boilerplate.py

        return outfiles
    
    
    def get_dates():
        years = datetime.datetime.now().year
        return "(%s)" % "|".join(str(year) for year in range(2014, years + 1))
    
    
    def get_regexs():
        regexs = {}
        # Search for "YEAR" which exists in the boilerplate, but shouldn't in the real thing
        regexs["year"] = re.compile("YEAR")
        # get_dates return 2014, 2015, 2016, 2017, or 2018 until the current year
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogFileStateProbe.groovy

        }
    
        DaemonContext getContext() {
            return context
        }
    
        State getCurrentState() {
            getStates().last()
        }
    
        List<State> getStates() {
            def states = new LinkedList<State>()
            states << Idle
            log.lines().withCloseable { stream ->
                stream.forEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

        val headers =
          Headers.Builder()
            .add("testDate", expected)
            .build()
        assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
        assertThat(headers.getDate("testDate")).isEqualTo(Date(0L))
      }
    
      @Test fun addInstant() {
        val expected = Instant.ofEpochMilli(0L)
        val headers =
          Headers.Builder()
            .add("Test-Instant", expected)
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/FileSystemPublishArtifact.java

            return getValue().getClassifier();
        }
    
        @Override
        public File getFile() {
            return fileSystemLocation.getAsFile();
        }
    
        @Override
        public Date getDate() {
            return new Date();
        }
    
        @Override
        public TaskDependency getBuildDependencies() {
            return TaskDependencyInternal.EMPTY;
        }
    
        private ArtifactFile getValue() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                    return null;
                }
            }
    
            @Override
            public long getDate() {
                return getLastModified();
            }
    
            @Override
            public long getLastModified() {
                if (minioClient == null) {
                    return 0;
                }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/LazyPublishArtifact.java

            return getDelegate().getClassifier();
        }
    
        @Override
        public File getFile() {
            return getDelegate().getFile();
        }
    
        @Override
        public Date getDate() {
            return new Date();
        }
    
        private PublishArtifactInternal getDelegate() {
            if (delegate == null) {
                Object value = provider.get();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Headers.kt

      /**
       * Returns the last value corresponding to the specified field parsed as an HTTP date, or null if
       * either the field is absent or cannot be parsed as a date.
       */
      fun getDate(name: String): Date? = get(name)?.toHttpDateOrNull()
    
      /**
       * Returns the last value corresponding to the specified field parsed as an HTTP date, or null if
       * either the field is absent or cannot be parsed as a date.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmPluginServices.java

                return type;
            }
    
            @Nullable
            @Override
            public String getClassifier() {
                return null;
            }
    
            @Override
            public Date getDate() {
                return null;
            }
    
            @Override
            public boolean shouldBePublished() {
                return false;
            }
    
            @Override
            public File getFile() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishBasicIntegTest.groovy

                    }
                    @Override
                    File getFile() {
                        return new File("customArtifact.jar")
                    }
                    @Override
                    Date getDate() {
                        return new Date()
                    }
                    @Override
                    TaskDependency getBuildDependencies() {
                        return new TaskDependency() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. platforms/software/signing/src/main/java/org/gradle/plugins/signing/Signature.java

        /**
         * The classifier of the signature artifact.
         *
         * @see #getClassifier()
         */
        private String classifier;
    
        /**
         * The date of the signature artifact.
         *
         * @see #getDate()
         */
        private Date date;
    
        private Callable<File> toSignGenerator;
    
        private Callable<String> classifierGenerator;
    
        @Nullable
        private Callable<String> nameGenerator;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top