Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 726 for dates (0.02 sec)

  1. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            final Date date = new SimpleDateFormat("HH:mm").parse(time);
            return new IntervalControlHelper() {
                @Override
                protected Calendar getCurrentCal() {
                    final Calendar cal = Calendar.getInstance();
                    cal.setTimeInMillis(date.getTime());
                    cal.set(Calendar.DAY_OF_WEEK, day);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

            .byteCount(),
        ).isEqualTo(20L)
      }
    
      @Test fun addDate() {
        val expected = Date(0L)
        val headers =
          Headers.Builder()
            .add("testDate", expected)
            .build()
        assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
        assertThat(headers.getDate("testDate")).isEqualTo(Date(0L))
      }
    
      @Test fun addInstant() {
        val expected = Instant.ofEpochMilli(0L)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. 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)
  4. docs/de/docs/tutorial/schema-extra-example.md

    # Beispiel-Request-Daten deklarieren
    
    Sie können Beispiele für die Daten deklarieren, die Ihre Anwendung empfangen kann.
    
    Hier sind mehrere Möglichkeiten, das zu tun.
    
    ## Zusätzliche JSON-Schemadaten in Pydantic-Modellen
    
    Sie können `examples` („Beispiele“) für ein Pydantic-Modell deklarieren, welche dem generierten JSON-Schema hinzugefügt werden.
    
    //// tab | Python 3.10+ Pydantic v2
    
    ```Python hl_lines="13-24"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. docs/de/docs/advanced/using-request-directly.md

    # Den Request direkt verwenden
    
    Bisher haben Sie die Teile des Requests, die Sie benötigen, mithilfe von deren Typen deklariert.
    
    Daten nehmend von:
    
    * Dem Pfad als Parameter.
    * Headern.
    * Cookies.
    * usw.
    
    Und indem Sie das tun, validiert **FastAPI** diese Daten, konvertiert sie und generiert automatisch Dokumentation für Ihre API.
    
    Es gibt jedoch Situationen, in denen Sie möglicherweise direkt auf das `Request`-Objekt zugreifen müssen.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. 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)
Back to top