- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 754 for Date (0.04 sec)
-
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java
asDocMeta().version(version); } public Date getExpires() { if (getExpiredTime() == null) { return null; } return new Date(getExpiredTime()); } public void setExpires(final Date date) { setExpiredTime(date != null ? date.getTime() : null); } @Override public String toString() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Oct 31 15:32:50 UTC 2018 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java
* @throws Exception */ @Test public void testGetAsObjectAndGetAsString() throws Exception { final SqlDateConverter converter = new SqlDateConverter("yyyy/MM/dd"); final java.sql.Date result = (java.sql.Date) converter.getAsObject("2008/01/16"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java
import java.sql.Timestamp; import java.util.Date; import org.junit.Test; /** * @author higa * */ public class DateConverterTest { /** * @throws Exception */ @Test public void testGetAsObjectAndGetAsString() throws Exception { final DateConverter converter = new DateConverter("yyyy/MM/dd"); final Date result = (Date) converter.getAsObject("2008/01/16");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/ProjectBuilderConfiguration.java
ProjectBuilderConfiguration setUserProperties(Properties userProperties); ProjectBuilderConfiguration setExecutionProperties(Properties executionProperties); Date getBuildStartTime(); ProjectBuilderConfiguration setBuildStartTime(Date buildStartTime);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java
",fid=" + fid + ",createAction=0x" + Hexdump.toHexString( createAction, 4 ) + ",creationTime=" + new Date( creationTime ) + ",lastAccessTime=" + new Date( lastAccessTime ) + ",lastWriteTime=" + new Date( lastWriteTime ) + ",changeTime=" + new Date( changeTime ) + ",extFileAttributes=0x" + Hexdump.toHexString( extFileAttributes, 4 ) +
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/BuildTimestampValueSource.java
import java.text.SimpleDateFormat; import java.util.Date; import org.codehaus.plexus.interpolation.AbstractValueSource; /** * */ @Deprecated public class BuildTimestampValueSource extends AbstractValueSource { private final Date startTime; private final String format; private String formattedDate; public BuildTimestampValueSource(Date startTime, String format) { super(false);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
} else if (o instanceof String) { return toLong((String) o); } else if (o instanceof java.util.Date) { if (pattern != null) { return Long.valueOf(new SimpleDateFormat(pattern).format(o)); } return ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? (long) 1 : (long) 0; } else {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.7K bytes - Viewed (0) -
.github/workflows/sigbuild-docker.yml
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Nov 01 08:40:10 UTC 2024 - 4.3K bytes - Viewed (0)