Warning: This file is auto-generated by
mix ptc.gen_docsfrompriv/java_compat_audit.exs. Manual edits will be overwritten. Editpriv/java_compat_audit.exsinstead.
Curated LLM-compatibility target for java.time.Duration.
See also: Function Reference | Namespace Coverage | Clojure Core Audit | Clojure String Audit | Clojure Set Audit | Clojure Walk Audit | Java Math Audit | Java Boolean Audit | Java Double Audit | Java Float Audit | Java Integer Audit | Java Long Audit | Java String Audit | Java System Audit | Java LocalDate Audit | Java Instant Audit | Java Period Audit | Java Date Audit
Summary
Coverage excludes not_relevant entries: supported / (supported + candidate + not_classified).
| Status | Count |
|---|---|
| Supported | 3 |
| Candidate | 2 |
| Not Relevant | 0 |
| Not Classified | 0 |
| Relevant Target | 5 |
| Coverage | 3/5 (60.0%) |
| Total | 5 |
Details
| Var | Status | Description | Notes |
|---|---|---|---|
.toDays | ✅ supported | Return duration length in whole days | Requested in issue #1019 for bucket/day calculations. |
.toMillis | ✅ supported | Return duration length in milliseconds | Requested in issue #1019 for instant differences. |
Duration/between | ✅ supported | Duration between two instants | Requested in issue #1019 for millisecond/day differences. BUG GAP-J19: java.util.Date inputs are accepted instead of rejected. |
Duration/ofMillis | 🔲 candidate | Construct duration from milliseconds | Useful companion for bounded Duration support. |
Duration/parse | 🔲 candidate | Parse ISO-8601 duration string | Useful but lower-priority than between/toMillis/toDays. |