- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for formatGeneralizedTime (0.39 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
} @Test fun `format generalized time`() { assertThat(Adapters.formatGeneralizedTime(date("1899-01-01T00:00:00.000+0000").time)) .isEqualTo("18990101000000Z") assertThat(Adapters.formatGeneralizedTime(date("1950-01-01T00:00:00.000+0000").time)) .isEqualTo("19500101000000Z") assertThat(Adapters.formatGeneralizedTime(date("2050-01-01T00:00:00.000+0000").time)) .isEqualTo("20500101000000Z")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
return parseGeneralizedTime(string) } override fun encode( writer: DerWriter, value: Long, ) { val string = formatGeneralizedTime(value) return writer.writeUtf8(string) } }, ) /** Decodes any value without interpretation as [AnyValue]. */ val ANY_VALUE =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0)