- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 99 for SetDefault (0.58 sec)
-
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts an object to {@link Date}. * * @param src the source object * @param pattern the pattern string * @return the converted {@link Date} */ public static Date toDate(final Object src, final String pattern) { return toDate(src, pattern, LocaleUtil.getDefault()); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 19.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
proxySelector: ProxySelector = this.proxySelector, ): Address = Address( uriHost = uriHost, uriPort = uriPort, dns = dns, socketFactory = SocketFactory.getDefault(), sslSocketFactory = null, hostnameVerifier = null, certificatePinner = null, proxyAuthenticator = proxyAuthenticator, proxy = proxy, protocols = protocols,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 7.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt
/** * A [SocketFactory] that redirects connections to [defaultAddress] or specific overridden address via [set]. */ class SpecificHostSocketFactory( val defaultAddress: InetSocketAddress?, ) : DelegatingSocketFactory(getDefault()) { private val hostMapping = mutableMapOf<InetAddress, InetSocketAddress>() /** Sets the [real] address for [requested]. */ operator fun set( requested: InetAddress, real: InetSocketAddress, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java
* Returns {@link DecimalFormatSymbols}. * * @return {@link DecimalFormatSymbols} */ public static DecimalFormatSymbols getDecimalFormatSymbols() { return getDecimalFormatSymbols(LocaleUtil.getDefault()); } /** * Returns {@link DecimalFormatSymbols}. * * @param locale * The locale. Must not be {@literal null}. * @return {@link DecimalFormatSymbols} */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/LocaleUtilTest.java
/** * @author higa * */ public class LocaleUtilTest extends TestCase { /** * @throws Exception */ public void testGetLocale() throws Exception { assertEquals("1", LocaleUtil.getDefault(), LocaleUtil.getLocale(null)); assertEquals("2", Locale.JAPANESE, LocaleUtil.getLocale("ja")); assertEquals("3", Locale.JAPAN, LocaleUtil.getLocale("ja_JP")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.1K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
strings.any { it.matches(Regex("[A-Z]+=Entrust.*")) } } } private fun startTlsServer(): InetSocketAddress { val serverSocketFactory = ServerSocketFactory.getDefault() serverSocket = serverSocketFactory.createServerSocket() val serverAddress = InetAddress.getByName("localhost") serverSocket!!.bind(InetSocketAddress(serverAddress, 0), 50)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
// required. These socket factories explicitly set the buffer sizes on sockets created. server = MockWebServer() server.serverSocketFactory = object : DelegatingServerSocketFactory(getDefault()) { @Throws(SocketException::class) override fun configureServerSocket(serverSocket: ServerSocket): ServerSocket { serverSocket.setReceiveBufferSize(SOCKET_BUFFER_SIZE) return serverSocket
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
// Test that centralTimeZone is accessible and not null TimeZone centralTz = FessUserTimeZoneProcessProvider.centralTimeZone; assertNotNull(centralTz); assertEquals(TimeZone.getDefault(), centralTz); } // Test toString method public void test_toString() { String result = provider.toString(); assertNotNull(result); assertTrue(result.length() > 0);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/DecimalFormatUtil.java
* A string representing a number * @return The normalized string * @see #normalize(String, Locale) */ public static String normalize(final String s) { return normalize(s, LocaleUtil.getDefault()); } /** * Normalizes the string representation of a number by removing grouping separators * and representing the decimal point with '.'. * * @param s
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
() -> { throw new IOException("unrecognized FileSystem type " + FileSystems.getDefault()); }; } } private static PermissionSupplier userPermissions() { try { UserPrincipal user = FileSystems.getDefault() .getUserPrincipalLookupService() .lookupPrincipalByName(getUsername());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0)