- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for setTimezone (0.05 seconds)
-
compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java
Contributor target, Contributor source, boolean sourceDominant, Map<Object, Object> context) { String src = source.getTimezone(); if (src != null) { if (sourceDominant || target.getTimezone() == null) { target.setTimezone(src); target.setLocation("timezone", source.getLocation("timezone")); } } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 11:21:39 GMT 2025 - 99.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
val servedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-2)) val dateFormat: DateFormat = SimpleDateFormat("EEE dd-MMM-yyyy HH:mm:ss z", Locale.US) dateFormat.timeZone = TimeZone.getTimeZone("America/New_York") val lastModifiedString = dateFormat.format(lastModifiedDate) val servedString = dateFormat.format(servedDate) // This response should be conditionally cached. server.enqueue(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0)