- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for yyyyMMddHHmmssZ (0.07 sec)
-
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersion.kt
import java.util.TimeZone data class ReleasedVersion(val version: String, val buildTime: String) { fun gradleVersion() = GradleVersion.version(version) fun buildTimeStamp(): Date = SimpleDateFormat("yyyyMMddHHmmssZ").apply { timeZone = TimeZone.getTimeZone("UTC") }.parse(buildTime)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 1K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
println("Using timestamp from incoming build receipt: $buildTimestampFromReceipt") return buildTimestampFromReceipt } val timestampFormat = SimpleDateFormat("yyyyMMddHHmmssZ").apply { timeZone = TimeZone.getTimeZone("UTC") } val buildTimestampFromProperty = buildTimestampFromGradleProperty.orNull val buildTime = when {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 3.1K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt
@DisableCachingByDefault(because = "Not worth caching") 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 {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.2K bytes - Viewed (0)