- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for YYYY (1.76 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt
"EEE, dd MMM yyyy HH:mm:ss zzz", // RFC 850, obsoleted by RFC 1036 with any TZ. "EEEE, dd-MMM-yy HH:mm:ss zzz", // ANSI C's asctime() format "EEE MMM d HH:mm:ss yyyy", // Alternative formats: "EEE, dd-MMM-yyyy HH:mm:ss z", "EEE, dd-MMM-yyyy HH-mm-ss z", "EEE, dd MMM yy HH:mm:ss z", "EEE dd-MMM-yyyy HH:mm:ss z", "EEE dd MMM yyyy HH:mm:ss z", "EEE dd-MMM-yyyy HH-mm-ss z",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt
): String? { return formatDate(Date(System.currentTimeMillis() + timeUnit.toMillis(delta))) } private fun formatDate(date: Date): String? { val rfc1123: DateFormat = SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US) rfc1123.timeZone = TimeZone.getTimeZone("GMT") return rfc1123.format(date) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 6K bytes - Viewed (1) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
runningOnCi.get() -> "from current time because CI" else -> "from current date" } } private fun Date.withoutTime(): Date = SimpleDateFormat("yyyy-MM-dd").run { parse(format(this@withoutTime)) }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 3.1K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt
abstract class BuildReceipt : DefaultTask() { companion object { private val timestampFormat = newSimpleDateFormatUTC("yyyyMMddHHmmssZ") private val isoTimestampFormat = newSimpleDateFormatUTC("yyyy-MM-dd HH:mm:ss z") private fun newSimpleDateFormatUTC(pattern: String) = SimpleDateFormat(pattern).apply { timeZone = TimeZone.getTimeZone("UTC") }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 4.2K bytes - Viewed (0)