Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newSimpleDateFormatUTC (0.12 sec)

  1. 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")
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top