Dates
- Removed unused ::leapYear function.
This commit is contained in:
@@ -63,15 +63,6 @@ static bool isDay (const std::string& name, int& i)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
/**/
|
|
||||||
static bool leapYear (int year)
|
|
||||||
{
|
|
||||||
return ((!(year % 4)) && (year % 100)) ||
|
|
||||||
(!(year % 400));
|
|
||||||
}
|
|
||||||
/**/
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
static void easter (struct tm* t)
|
static void easter (struct tm* t)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user