- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for timezone (0.16 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
return writer.writeUtf8(string) } }, ) internal fun parseUtcTime(string: String): Long { val utc = TimeZone.getTimeZone("GMT") val dateFormat = SimpleDateFormat("yyMMddHHmmss'Z'").apply { timeZone = utc set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z. } try { val parsed = dateFormat.parse(string)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
@JvmField internal val EMPTY_RESPONSE: ResponseBody = commonEmptyResponse /** GMT and UTC are equivalent for our purposes. */ @JvmField internal val UTC: TimeZone = TimeZone.getTimeZone("GMT")!! internal fun threadFactory( name: String, daemon: Boolean, ): ThreadFactory = ThreadFactory { runnable -> Thread(runnable, name).apply { isDaemon = daemon }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
.writeByte(this[size - 1].toInt() xor 1) .readByteString() } private fun date(s: String): Date { return SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").run { timeZone = TimeZone.getTimeZone("GMT") parse(s) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 43.9K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
construct = { Point(it[0] as Long?, it[1] as Long?) }, ) } } private fun date(s: String): Date { return SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").run { timeZone = TimeZone.getTimeZone("GMT") parse(s) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
assertThat(cookieA).isNotEqualTo(null) } } @Throws(ParseException::class) private fun date(s: String): Date { val format = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ") format.timeZone = UTC return format.parse(s) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 24.3K bytes - Viewed (0) -
common-protos/k8s.io/api/batch/v1/generated.proto
// reason UnknownTimeZone. // More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones // +optional optional string timeZone = 8; // Optional deadline in seconds for starting the job if it misses scheduled // time for any reason. Missed jobs executions will be counted as failed ones. // +optional
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 21.1K bytes - Viewed (0)