Searched refs:IsLeapYear (Results 1 – 1 of 1) sorted by relevance
50 bool IsLeapYear(int year) { in IsLeapYear() function55 return kSecondsPerDay * (IsLeapYear(year) ? 366 : 365); in SecondsPerYear()82 if (time.month == 2 && IsLeapYear(time.year)) { in ValidateDateTime()117 if (month > 2 && IsLeapYear(year)) { in SecondsSinceCommonEra()121 time.day <= (month == 2 && IsLeapYear(year) in SecondsSinceCommonEra()235 bool leap = IsLeapYear(year); in SecondsToDateTime()