Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ofDays (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        }
        try {
          builder.callTimeout(Duration.ofDays(365))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.connectTimeout(Duration.ofDays(365))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.writeTimeout(Duration.ofDays(365))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (1)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      @GwtIncompatible // Duration
      @IgnoreJRERequirement // No more dangerous than wherever the caller got the Duration from
      public void testLargeDurationsAreOk() {
        Duration threeHundredYears = Duration.ofDays(365 * 300);
        CacheBuilder<Object, Object> unused =
            CacheBuilder.newBuilder()
                .expireAfterWrite(threeHundredYears)
                .expireAfterAccess(threeHundredYears)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top