Searched refs:kSecondsPerDay (Results 1 – 4 of 4) sorted by relevance
39 static const int64 kSecondsPerDay = 3600 * 24; variable109 EXPECT_EQ(kSecondsPerDay, in TEST()111 EXPECT_EQ(kSecondsPerDay, in TEST()113 EXPECT_EQ(kSecondsPerDay, in TEST()115 EXPECT_EQ(kSecondsPerDay, in TEST()117 EXPECT_EQ(kSecondsPerDay, in TEST()119 EXPECT_EQ(kSecondsPerDay, in TEST()121 EXPECT_EQ(kSecondsPerDay, in TEST()123 EXPECT_EQ(kSecondsPerDay, in TEST()125 EXPECT_EQ(kSecondsPerDay, in TEST()[all …]
15 static const int64 kSecondsPerDay = kSecondsPerHour * 24; variable17 kSecondsPerDay * (400 * 365 + 400 / 4 - 3);31 return kSecondsPerDay * (100 * 365 + 100 / 4); in SecondsPer100Years()33 return kSecondsPerDay * (100 * 365 + 100 / 4 - 1); in SecondsPer100Years()43 return kSecondsPerDay * (4 * 365); in SecondsPer4Years()46 return kSecondsPerDay * (4 * 365 + 1); in SecondsPer4Years()55 return kSecondsPerDay * (IsLeapYear(year) ? 366 : 365); in SecondsPerYear()64 return kSecondsPerDay * (kDaysInMonth[month] + 1); in SecondsPerMonth()66 return kSecondsPerDay * kDaysInMonth[month]; in SecondsPerMonth()116 result += kSecondsPerDay * kDaysSinceJan[month]; in SecondsSinceCommonEra()[all …]
40 static constexpr uint64_t kSecondsPerDay = in ConvertTimeSeconds() local62 result += first_two_years * 2 * kDaysPerYear * kSecondsPerDay; in ConvertTimeSeconds()67 result += twenty_eight_years * 7 * kDaysPerQuadYear * kSecondsPerDay; in ConvertTimeSeconds()72 result += quad_centuries * kDaysPerQuadCentury * kSecondsPerDay; in ConvertTimeSeconds()76 result += first_century * (kDaysPerCentury + 1) * kSecondsPerDay; in ConvertTimeSeconds()80 result += centuries * kDaysPerCentury * kSecondsPerDay; in ConvertTimeSeconds()85 result += quad_years * kDaysPerQuadYear * kSecondsPerDay; in ConvertTimeSeconds()89 result += first_year * (kDaysPerYear + 1) * kSecondsPerDay; in ConvertTimeSeconds()92 result += year * kDaysPerYear * kSecondsPerDay; in ConvertTimeSeconds()98 result += days * kSecondsPerDay; in ConvertTimeSeconds()[all …]
1156 #define kSecondsPerDay ( 60 * 60 * 24 ) // 86400 macro