- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getLocalTimezone (0.54 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.getOemEncoding(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getLocalTimezone() */ @Override public TimeZone getLocalTimezone() { return this.delegate.getLocalTimezone(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getPid() */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24.1K bytes - Click Count (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
TimeZone timeZone = TimeZone.getTimeZone("UTC"); when(mockDelegate.getLocalTimezone()).thenReturn(timeZone); // When TimeZone resultTimeZone = delegatingConfig.getLocalTimezone(); // Then assertSame(timeZone, resultTimeZone, "Should delegate time zone"); verify(mockDelegate).getLocalTimezone(); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
BaseConfiguration configWithDefaults = new BaseConfiguration(true); assertNotNull(configWithDefaults.getRandom()); assertNotNull(configWithDefaults.getLocalTimezone()); assertNotNull(configWithDefaults.getMachineId()); assertEquals(32, configWithDefaults.getMachineId().length); assertNotNull(configWithDefaults.getNativeOs());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
*/ String getOemEncoding(); /** * Gets the local timezone for time-related operations * * @return local timezone */ TimeZone getLocalTimezone(); /** * Gets the process ID to use in SMB messages * * @return Process id to send, randomized if unset */ int getPid(); /** *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
if (t == 0L || t == 0xFFFFFFFFFFFFFFFFL) { SMBUtil.writeInt4(0xFFFFFFFF, dst, dstIndex); return; } if (cfg.getLocalTimezone().inDaylightTime(new Date())) { // in DST if (cfg.getLocalTimezone().inDaylightTime(new Date(t))) { // t also in DST so no correction } else { // t not in DST so subtract 1 hour
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.9K bytes - Click Count (0)