- horoscope-api: Swiss Ephemeris natal charts, timezone/place resolution, POST /v1/natal and POST /v1/synastry - backend: users with roles, email/password and Google login, saved charts, synastries and invites, analyses with credit ledger, public shares, admin - shared crates: astro-engine, db (migrations), horoscope-client, service-kit - docker-compose with postgres, legacy Java project for reference Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
26 lines
500 B
Java
Executable File
26 lines
500 B
Java
Executable File
package astrochart.shared.wrappers;
|
|
|
|
import java.util.Date;
|
|
|
|
public class RiseAndSet {
|
|
private final Date rise;
|
|
private final Date set;
|
|
|
|
public RiseAndSet(final Date rise, final Date set) {
|
|
this.rise = rise;
|
|
this.set = set;
|
|
}
|
|
|
|
public final Date getRise() {
|
|
return rise;
|
|
}
|
|
|
|
public final Date getSet() {
|
|
return set;
|
|
}
|
|
|
|
public final String toString() {
|
|
return "rise: " + rise + " set: " + set;
|
|
}
|
|
}
|