Lines Matching refs:seconds
75 * Given a calendar year, return the GMT epoch seconds for midnight
92 * Given 1970 GMT epoch seconds, return the calendar year containing
95 int32_t secondsToYear(int64_t seconds) {
99 if (seconds >= 0) {
102 if (s > seconds) break;
108 if (s <= seconds) break;
125 int64_t time; // seconds, 1970 epoch
137 int64_t rawoffset; // raw seconds offset from GMT
138 int64_t dstoffset; // dst seconds offset from GMT
1360 int64_t seconds = yearToSeconds(year);
1363 if (seconds > HIGHEST_TIME32) {
1368 seconds = HIGHEST_TIME32;
1374 bind2nd(ptr_fun(isAfter), seconds));