Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for YYYY (0.17 sec)

  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 Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. 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 Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            }
        }
    
        private static void writePsOutputToFile(File rootProjectDir, List<String> psOutput) {
            String timestamp = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd-HH-mm-ss"));
            File psOutFile = new File(rootProjectDir, timestamp + ".psoutput");
    
            try {
                Files.write(psOutFile.toPath(), psOutput);
            } catch (IOException e) {
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Sep 27 07:41:29 GMT 2023
    - 11.4K bytes
    - Viewed (0)
Back to top