- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for 19700101 (0.35 sec)
-
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
is((Object) "19700101")); } /** * @throws Exception */ @Test public void testSqlDateConverter() throws Exception { assertThat(new CopyOptions().sqlDateConverter("yyyyMMdd").convertValue(new java.sql.Date(0), "aaa", String.class), is((Object) "19700101")); } /** * @throws Exception */
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt
// Ignore trailing junk assertThat("Thu, 01 Jan 1970 00:00:00 GMT JUNK".toHttpDateOrNull()!!.time).isEqualTo(0L) // Missing timezones treated as bad. assertThat("Thu, 01 Jan 1970 00:00:00".toHttpDateOrNull()).isNull() // Missing seconds treated as bad. assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() // Extra spaces treated as bad.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
assertThat( parseCookie( 0L, url, "a=b; " + "Expires=Thu, 01 Jan 1970 00:00:02 GMT; " + "Expires=Thu, 01 Jan 1970 00:00:04 GMT; " + "Expires=Thu, 01 Jan 1970 00:00:01 GMT; " + "Expires=Thu, 01 Jan 1970 00:00:03 GMT", )!!.expiresAt, ).isEqualTo(3000L) } @Test fun maxAgeOrExpiresMakesCookiePersistent() {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 24.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
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() assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt
builder["g"] = Instant.EPOCH assertThat(builder["a"]).isEqualTo("b") assertThat(builder["c"]).isEqualTo("d") assertThat(builder["e"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT") assertThat(builder["g"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT") }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Dec 21 01:54:49 GMT 2023 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
} @Test fun responseCookies() { server.enqueue( MockResponse( headers = headersOf( "Set-Cookie", "a=b; Expires=Thu, 01 Jan 1970 00:00:00 GMT", "Set-Cookie", "c=d; Expires=Fri, 02 Jan 1970 23:59:59 GMT; path=/bar; secure", ), ), ) val cookieJar = RecordingCookieJar() client =
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0)