I think this should use `JulianDate.equals`.