- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 317 for DATE (0.01 sec)
-
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
public void testToDate_ShortStyle() throws Exception { final Date date = toDate("10/9/7 11:49", Locale.JAPAN); assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/converter/SqlDateConverter.java
import java.util.Date; import org.codelibs.core.beans.Converter; import org.codelibs.core.convert.DateConversionUtil; import org.codelibs.core.convert.StringConversionUtil; import org.codelibs.core.lang.StringUtil; /** * Converter for SQL dates. * * @author higa */ public class SqlDateConverter implements Converter { /** * The date pattern. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt
object : ThreadLocal<DateFormat>() { override fun initialValue(): DateFormat { // Date format specified by RFC 7231 section 7.1.1.1. return SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss 'GMT'", Locale.US).apply { isLenient = false timeZone = UTC } } } /** If we fail to parse a date in a non-standard format, try each of these formats in sequence. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
} @Test fun expiresDate() { assertThat(Date(parse(url, "a=b; Expires=Thu, 01 Jan 1970 00:00:00 GMT")!!.expiresAt)) .isEqualTo(date("1970-01-01T00:00:00.000+0000")) assertThat(Date(parse(url, "a=b; Expires=Wed, 09 Jun 2021 10:18:14 GMT")!!.expiresAt)) .isEqualTo(date("2021-06-09T10:18:14.000+0000")) assertThat(Date(parse(url, "a=b; Expires=Sun, 06 Nov 1994 08:49:37 GMT")!!.expiresAt))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 24.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
} /** * Calculates the document expiration date based on crawling configuration. * If the config has a timeToLive value, calculates expiration from current time. * Otherwise, returns the stored document expiration time. * * @param config the crawling configuration containing time-to-live settings * @return the document expiration date, or null if no expiration is set */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 15.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java
System.out.println(response.request().header("Date")); } } static class CurrentDateInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException { Request request = chain.request(); Headers newHeaders = request.headers() .newBuilder() .add("Date", new Date()) .build(); Request newRequest = request.newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Oct 31 15:32:50 UTC 2018 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
} if (file == null) { // TODO throw something instead? return true; } Date lastCheckDate; if (file.exists()) { lastCheckDate = new Date(file.lastModified()); } else { File touchfile = getTouchfile(artifact); lastCheckDate = readLastUpdated(touchfile, getRepositoryKey(repository));
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Apr 22 22:13:51 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java
} public void test_parseDate() { Date date; date = FessFunctions.parseDate(""); assertNull(date); date = FessFunctions.parseDate("2004-04-01T12:34:56.123Z"); assertEquals("2004-04-01T12:34:56.123Z", FessFunctions.formatDate(date)); date = FessFunctions.parseDate("2004-04-01T12:34:56Z");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java
} return processFieldConfigs(dataMap, fieldConfigs); } /** * Get the last modified date. * @param dataMap The data map. * @param responseData The response data. * @return The last modified date. */ protected Date getLastModified(final Map<String, Object> dataMap, final ResponseData responseData) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
data[7] = (byte) (high >> 24); PacDataInputStream pdis = createInputStream(data); Date date = pdis.readFiletime(); assertNotNull(date); // Allow for a small difference due to precision loss assertEquals(time / 1000, date.getTime() / 1000); // Test with null date (0x7fffffff ffffffff)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0)