mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-03-31 12:53:48 -04:00
The Kotlin version of Astronomy Engine was using Java classes like `Date` and `GregorianCalendar`. Reworked the code to use a completely self-contained representation of calendar date/time, just like the C version does. Now Astronomy Engine does not depend on anything outside of the Kotlin standard library. This should allow us to use Astronomy Engine for Kotlin Native apps, Web Assembly, etc. Updated Java demo to use the new method Time.fromMillisecondsSince1970.
Java demo program
This program illustrates compatibility between the Kotlin source code and the Java language.
Not yet documented. Coming soon!