- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 41 for TimeZone (0.05 seconds)
-
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
/** * @throws Exception */ @Before public void setUp() throws Exception { TimeZone.setDefault(TimeZone.getTimeZone("GMT")); } /** * @throws Exception */ @After public void tearDown() throws Exception { TimeZone.setDefault(null); } /** * @throws Exception */ @TestCreated: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/test/remote-repo/org/apache/maven/maven/2.0/maven-2.0.pom
<roles> <role>PMC Chair</role> </roles> <timezone>-5</timezone> </developer> <developer> <id>brett</id> <name>Brett Porter</name> <email>******@****.***</email> <organization>ASF</organization> <roles> <role>PMC Member</role> </roles> <timezone>+10</timezone> </developer> <developer> <id>evenisse</id>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 8.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProvider.java
public static final TimeZone centralTimeZone = TimeZone.getDefault(); @Override public boolean isUseTimeZoneHandling() { return false; } @Override public boolean isAcceptCookieTimeZone() { return false; } @OverrideCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.1K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt
private 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()) }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 16 02:21:13 GMT 2025 - 3.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt
import assertk.assertions.isNull import java.util.Date import java.util.TimeZone import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test class HttpDateTest { private lateinit var originalDefault: TimeZone @BeforeEach fun setUp() { originalDefault = TimeZone.getDefault() // The default timezone should affect none of these tests: HTTP specified GMT, so we set it toCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.9K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersion.kt
import org.gradle.util.GradleVersion import java.text.SimpleDateFormat import java.util.Date 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)
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 1K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
// otherwise we'll use the current timestamp by default and miss val formatter = SimpleDateFormat("yyyyMMddHHmmssZ").apply { timeZone = TimeZone.getTimeZone("UTC") } return formatter.format(Date(0L)) } val buildTimestampFromReceipt = buildTimestampFromBuildReceipt.orNull
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jun 05 17:24:26 GMT 2025 - 3.7K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
} @Test @DisplayName("MonotonicClock should always use UTC timezone") void testClockTimezone() { MonotonicClock clock = MonotonicClock.get(); assertEquals(ZoneOffset.UTC, clock.getZone(), "Clock should use UTC timezone"); // Verify that attempting to change timezone returns the same instance Clock newClock = clock.withZone(ZoneId.systemDefault());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java
@Deprecated(since = "4.0.0") final class RemoteSnapshotMetadata extends MavenSnapshotMetadata { public static final String DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT = "yyyyMMdd.HHmmss"; public static final TimeZone DEFAULT_SNAPSHOT_TIME_ZONE = TimeZone.getTimeZone("Etc/UTC"); private final Map<String, SnapshotVersion> versions = new LinkedHashMap<>(); private final Integer buildNumber;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.5K bytes - Click Count (0) -
docs_src/security/tutorial005_an_py310.py
return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 5.3K bytes - Click Count (0)