Java Duration Audit for PTC-Lisp

Copy Markdown View Source

Warning: This file is auto-generated by mix ptc.gen_docs from priv/java_compat_audit.exs. Manual edits will be overwritten. Edit priv/java_compat_audit.exs instead.

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).

StatusCount
Supported3
Candidate2
Not Relevant0
Not Classified0
Relevant Target5
Coverage3/5 (60.0%)
Total5

Details

VarStatusDescriptionNotes
.toDays✅ supportedReturn duration length in whole daysRequested in issue #1019 for bucket/day calculations.
.toMillis✅ supportedReturn duration length in millisecondsRequested in issue #1019 for instant differences.
Duration/between✅ supportedDuration between two instantsRequested in issue #1019 for millisecond/day differences. BUG GAP-J19: java.util.Date inputs are accepted instead of rejected.
Duration/ofMillis🔲 candidateConstruct duration from millisecondsUseful companion for bounded Duration support.
Duration/parse🔲 candidateParse ISO-8601 duration stringUseful but lower-priority than between/toMillis/toDays.