31 #ifndef KHOLIDAYS_LUNARPHASE_H
32 #define KHOLIDAYS_LUNARPHASE_H
61 #include <tqdatetime.h>
68 enum Phase { New, FirstQ, LastQ, Full, None };
69 enum Hemisphere { Northern, Southern };
81 Phase phase( const TQDate &date ) const;
90 TQString phaseStr( const TQDate &date ) const;
119 static TQString phaseName( Phase phase );
129 double percentFull( uint t ) const;
137 double degreesToRadians( double degree ) const;
143 void adj360( double *degree ) const;
145 Hemisphere mHemisphere;
|