Warning: This file is auto-generated by
mix ptc.gen_docsfrompriv/java_interop.exs. Manual edits will be overwritten. Editpriv/java_interop.exsinstead.
Curated LLM-compatibility target for java.time.Instant.
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 Duration Audit | Java Period Audit | Java Date Audit
Summary
Coverage excludes not_relevant entries: supported / (supported + candidate + not_classified).
| Status | Count |
|---|---|
| Supported | 4 |
| Candidate | 2 |
| Not Relevant | 1 |
| Not Classified | 0 |
| Relevant Target | 6 |
| Coverage | 4/6 (66.7%) |
| Total | 7 |
Details
| Var | Status | Description | Notes |
|---|---|---|---|
.getTime | ❌ not_relevant | Method belongs to java.util.Date, not Instant | Removed from Instant when class-aware temporal dispatch landed. |
.isAfter | ✅ supported | Instant ordering predicate | Works for native Instant values only. |
.isBefore | ✅ supported | Instant ordering predicate | Works for native Instant values only. |
.toEpochMilli | ✅ supported | Return Instant epoch millisecond | Raises a bounded arithmetic condition when the result exceeds Java long. |
Instant/now | 🔲 candidate | Current instant | System/currentTimeMillis plus java.util.Date. covers many cases. |
Instant/ofEpochMilli | 🔲 candidate | Construct instant from epoch milliseconds | java.util.Date. accepts exact epoch milliseconds but returns a Date, not an Instant. |
Instant/parse | ✅ supported | Parse ISO-8601 instant string | Also available as java.time.Instant/parse; parsing requires an offset. |