Skip to content

Moon rise time is null for specific combination of input data #1

@vdurnev

Description

@vdurnev

Hi,
Thank you for the great API, it provides a very accurate calculations.
But I've discovered today that for these data your API could not calculate moon rise time:
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date d = sdf.parse("2023-06-06 22:05:00");
double latitude = 50.43764;
double longitude = 30.621232;
Map<String, Date> moonTimes = SunCalc4JavaUtils.getMoonTimes(d, latitude, longitude, false);
assertNotNull(moonTimes.get("rise"));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions