Home
last modified time | relevance | path

Searched refs:secondsPerDay (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp36 inline static constexpr auto secondsPerDay = variable
84 getEpochTimeNow() + nextPasswordChangeInDays * secondsPerDay; in fillPasswordExpiration()
186 (newInfo.lastChangeDate + newInfo.maxAge) * secondsPerDay; in testPasswordExpirationSet()
364 (lastChangeDate + passwordAge) * secondsPerDay; in TEST_F()
503 const auto expirationTime = (lastChangeDate + passwordAge) * secondsPerDay; in TEST_F()
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp62 static constexpr long secondsPerDay = 60 * 60 * 24; variable
188 const uint64_t dateDays = seconds / secondsPerDay; in secondsToDays()
1058 long today = static_cast<long>(time(NULL)) / secondsPerDay; in userPasswordExpired()