Stellarium  HEAD
Public Member Functions
PlanetaryEventsMgr Class Reference

Public Member Functions

 PlanetaryEventsMgr (QObject *parent=nullptr)
 
double findPrev (double fromJD, const QString &eventType) const
 Nearest event of eventType strictly before fromJD. More...
 
double findNext (double fromJD, const QString &eventType) const
 Nearest event of eventType strictly after fromJD. More...
 

Member Function Documentation

◆ findNext()

double PlanetaryEventsMgr::findNext ( double  fromJD,
const QString &  eventType 
) const

Nearest event of eventType strictly after fromJD.

Returns 0.0 if none found within the search window.

◆ findPrev()

double PlanetaryEventsMgr::findPrev ( double  fromJD,
const QString &  eventType 
) const

Nearest event of eventType strictly before fromJD.

Returns 0.0 if none found within the search window.