C# Class Wallcreeper.Moon

Exibir arquivo Open project: Winterstark/Wallcreeper

Public Methods

Method Description
NextFullMoon ( System.DateTime fromDate ) : System.DateTime
PrevFullMoon ( System.DateTime fromDate ) : System.DateTime

Private Methods

Method Description
Julian ( int year, int month, double day ) : double
JulianToDate ( System.DateTime &now, double jd ) : void
calcNext ( int y, int m, int d ) : System.DateTime
moon_phase ( int year, int month, int day, double hour, int &ip ) : double
moon_position ( double j, double ls ) : double
nextDay ( int &y, int &m, int &d, double dd ) : void
nightOfTheFullMoon ( System.DateTime date ) : System.DateTime
sun_position ( double j ) : double

Method Details

NextFullMoon() public static method

public static NextFullMoon ( System.DateTime fromDate ) : System.DateTime
fromDate System.DateTime
return System.DateTime

PrevFullMoon() public static method

public static PrevFullMoon ( System.DateTime fromDate ) : System.DateTime
fromDate System.DateTime
return System.DateTime