- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getTimeZone (2.33 sec)
-
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt
val isoTimestampFormat = newSimpleDateFormatUTC("yyyy-MM-dd HH:mm:ss z") private fun newSimpleDateFormatUTC(pattern: String) = SimpleDateFormat(pattern).apply { timeZone = TimeZone.getTimeZone("UTC") } fun readBuildReceiptFromString(buildReceipt: String) = Properties().apply { load(buildReceipt.reader()) } const val buildReceiptFileName = "build-receipt.properties"
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 16 02:21:13 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
long unixTime = time / 1000L; // Mocking date for timezone consistency TimeZone original = TimeZone.getDefault(); try { TimeZone.setDefault(TimeZone.getTimeZone("UTC")); ServerMessageBlock.writeUTime(unixTime * 1000L, buffer, 0); long readTime = ServerMessageBlock.readUTime(buffer, 0); assertEquals(unixTime * 1000L, readTime); } finally {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
} @Test @DisplayName("TimeZone configuration should delegate correctly") void testTimeZoneConfigurationDelegation() { // Given TimeZone timeZone = TimeZone.getTimeZone("UTC"); when(mockDelegate.getLocalTimezone()).thenReturn(timeZone); // When TimeZone resultTimeZone = delegatingConfig.getLocalTimezone(); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/Constants.java
/** Configuration path property key. */ public static final String FESS_CONF_PATH = "fess.conf.path"; /** UTC timezone constant. */ public static final TimeZone TIMEZONE_UTC = TimeZone.getTimeZone("UTC"); // ============================================================ // LDAP Configuration Constants // ============================================================Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 35.2K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
} if (obj instanceof String) { final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"); sdf.setTimeZone(TimeZone.getTimeZone("GMT")); try { return sdf.parse(obj.toString()); } catch (final ParseException e) { if (logger.isDebugEnabled()) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 34.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
public void init() { if (logger.isDebugEnabled()) { logger.debug("Initializing {}", this.getClass().getSimpleName()); } final Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("UTC")); cal.set(2027, 6 - 1, 1); // EOL Date eolTime = cal.getTimeInMillis(); if (isEoled()) { logger.error("Your system is out of support. See https://fess.codelibs.org/eol.html");
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 08:30:43 UTC 2025 - 36.6K bytes - Viewed (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(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0)