Made easter algorithm static in Date

This commit is contained in:
Federico Hernandez 2010-03-23 02:51:31 +01:00
parent 10450963cb
commit d3628c04db
3 changed files with 35 additions and 35 deletions

View file

@ -30,7 +30,6 @@
#include <stdio.h>
#include <string>
time_t easter (int year);
class Date;
@ -55,6 +54,7 @@ public:
static bool valid (const int, const int, const int, const int, const int, const int);
static bool valid (const int, const int, const int);
static time_t easter (int year);
static bool leapYear (int);
static int daysInMonth (int, int);
static std::string monthName (int);