Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getConstant (0.09 sec)

  1. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

        val headers =
          Headers.Builder()
            .add("Test-Instant", expected)
            .build()
        assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
        assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected)
      }
    
      @Test fun setDate() {
        val expected = Date(1000)
        val headers =
          Headers.Builder()
            .add("testDate", Date(0L))
            .set("testDate", expected)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

                    return element;
                }
            } else {
                targetClass = classMetaData;
            }
    
            String value = targetClass.getConstants().get(parts[1]);
            if (value == null) {
                listener.warning(String.format("Field '%s' does not have any value", fieldName));
                Element element = document.createElement("NO-VALUE-FOR_FIELD");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
Back to top