Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 66 for toDays (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

            return DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(instant);
        }
    
        public static String formatDuration(Duration duration) {
            long days = duration.toDays();
            long hours = duration.toHoursPart();
            long minutes = duration.toMinutesPart();
            long seconds = duration.toSecondsPart();
            long millis = duration.toMillisPart();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 10 15:37:54 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. scripts/add_latest_release_date.py

            if date_part:
                print(f"Latest release {version} already has a date: {date_part}")
                sys.exit(0)
    
            today = date.today().isoformat()
            lines[i] = f"## {version} ({today})\n"
            print(f"Added date: {version} ({today})")
    
            with open(RELEASE_NOTES_FILE, "w") as f:
                f.writelines(lines)
            sys.exit(0)
    
        print("No release header found")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 1023 bytes
    - Click Count (0)
  3. cmd/last-minute.go

    		merged.LastSec = l.LastSec
    	} else {
    		l.forwardTo(o.LastSec)
    		merged.LastSec = o.LastSec
    	}
    
    	for i := range merged.Totals {
    		merged.Totals[i] = AccElem{
    			Total: l.Totals[i].Total + o.Totals[i].Total,
    			N:     l.Totals[i].N + o.Totals[i].N,
    			Size:  l.Totals[i].Size + o.Totals[i].Size,
    		}
    	}
    	return merged
    }
    
    // Add  a new duration data
    func (l *lastMinuteLatency) add(t time.Duration) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/dependencies/global-dependencies.md

    Nesse caso, elas serão aplicadas a todas as *operações de rota* da aplicação:
    
    {* ../../docs_src/dependencies/tutorial012_an_py310.py hl[17] *}
    
    
    E todos os conceitos apresentados na seção sobre [adicionar `dependencies` aos *decoradores de operação de rota*](dependencies-in-path-operation-decorators.md) ainda se aplicam, mas nesse caso, para todas as *operações de rota* da aplicação.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  5. docs/es/docs/history-design-future.md

    He estado evitando la creación de un nuevo framework durante varios años. Primero traté de resolver todas las funcionalidades cubiertas por **FastAPI** usando varios frameworks, plug-ins y herramientas diferentes.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt

        assumeTrue(protocol == Protocol.HTTP_1_1)
    
        server.enqueue(
          MockResponse
            .Builder()
            .status("HTTP/1.1 200 ${"O".repeat(256 * 1024)}K")
            .body("I'm not even supposed to be here today.")
            .build(),
        )
        val call = client.newCall(Request(url = server.url("/")))
        assertFailsWith<IOException> {
          call.execute()
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/dependencies/global-dependencies.md

    En ese caso, se aplicarán a todas las *path operations* en la aplicación:
    
    {* ../../docs_src/dependencies/tutorial012_an_py310.py hl[17] *}
    
    Y todas las ideas en la sección sobre [agregar `dependencies` a los *path operation decorators*](dependencies-in-path-operation-decorators.md) siguen aplicándose, pero en este caso, a todas las *path operations* en la app.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  8. docs/pt/docs/history-design-future.md

    Eu estive evitando a criação de um novo _framework_ por vários anos. Primeiro tentei resolver todas as funcionalidades cobertas por **FastAPI** usando muitos _frameworks_, _plug-ins_ e ferramentas diferentes.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  9. internal/bucket/lifecycle/transition.go

    // UnmarshalXML parses number of days from Transition and validates if
    // >= 0
    func (tDays *TransitionDays) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	var days int
    	err := d.DecodeElement(&days, &startElement)
    	if err != nil {
    		return err
    	}
    
    	if days < 0 {
    		return errTransitionInvalidDays
    	}
    	*tDays = TransitionDays(days)
    
    	return nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/middleware.md

    ///
    
    ## `HTTPSRedirectMiddleware` { #httpsredirectmiddleware }
    
    Impone que todas las requests entrantes deben ser `https` o `wss`.
    
    Cualquier request entrante a `http` o `ws` será redirigida al esquema seguro.
    
    {* ../../docs_src/advanced_middleware/tutorial001_py310.py hl[2,6] *}
    
    ## `TrustedHostMiddleware` { #trustedhostmiddleware }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top