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

StatusCount
Supported4
Candidate2
Not Relevant0
Not Classified0
Relevant Target6
Coverage4/6 (66.7%)
Total6

Details

VarStatusDescriptionNotes
.getTime✅ supportedUnix timestamp in millisecondsWorks on DateTime values.
.isAfter✅ supportedInstant ordering predicateWorks for same-type Date or DateTime values.
.isBefore✅ supportedInstant ordering predicateWorks for same-type Date or DateTime values.
Instant/now🔲 candidateCurrent instantSystem/currentTimeMillis plus java.util.Date. covers many cases.
Instant/ofEpochMilli🔲 candidateConstruct instant from epoch millisecondsjava.util.Date. already accepts seconds or milliseconds.
Instant/parse✅ supportedParse ISO-8601 instant stringAlso available as java.time.Instant/parse and parse.