src/lib/btime.c
static bool is_leap_year(int year)
{
   if (year % 400 == 0) return true;
   if (year % 100 == 0) return false;
   if (year % 4 == 0) return true;
   return false;
}
/*
 * Definition of a leap year from Wikipedia.
 *  I knew it anyway but better check.
 */
Definition of a leap year from Wikipedia.
I knew it anyway but better check.
Definition of a leap year from Wikipedia . I knew it anyway but better check .
static bool is_leap_year(int year)
{
   if (year % 400 == 0) return true;
   if (year % 100 == 0) return false;
   if (year % 4 == 0) return true;
   return false;
}
static bool is_leap_year ( int year ) { if ( year % 400 == 0 ) return true ; if ( year % 100 == 0 ) return false ; if ( year % 4 == 0 ) return true ; return false ; }
Definition of a leap year from Wikipedia.
Definition of a leap year from Wikipedia .