Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder2.weakValues());
      }
    
      @GwtIncompatible // Duration
      public void testLargeDurationsAreOk() {
        Duration threeHundredYears = Duration.ofDays(365 * 300);
        CacheBuilder<Object, Object> unused =
            CacheBuilder.newBuilder()
                .expireAfterWrite(threeHundredYears)
                .expireAfterAccess(threeHundredYears)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top