Add horoscope-api, synastry, and backend services
- 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
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package astrochart.client.event;
|
||||
|
||||
import java.util.Date;
|
||||
import com.google.gwt.event.shared.GwtEvent;
|
||||
|
||||
public class DateUpdatedEvent extends GwtEvent<DateUpdatedEventHandler> {
|
||||
public static final Type<DateUpdatedEventHandler> TYPE = new Type<DateUpdatedEventHandler>();
|
||||
private final Date localDate;
|
||||
|
||||
public DateUpdatedEvent(final Date localDate) {
|
||||
this.localDate = localDate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final Type<DateUpdatedEventHandler> getAssociatedType() {
|
||||
return TYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected final void dispatch(final DateUpdatedEventHandler handler) {
|
||||
handler.onDateUpdated(this);
|
||||
}
|
||||
|
||||
public final Date getLocalDate() {
|
||||
return localDate;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user