mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 16:53:08 +02:00
Made easter algorithm static in Date
This commit is contained in:
parent
10450963cb
commit
d3628c04db
3 changed files with 35 additions and 35 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue