Lines Matching defs:epoch
991 time_t epoch = GetOSXEpoch();
992 epoch = epoch + static_cast<time_t>(std::floor(date_value));
993 tm *tm_date = gmtime(&epoch);
1225 // POSIX has an epoch on Jan-1-1970, but Cocoa prefers Jan-1-2001
1226 // this call gives the POSIX equivalent of the Cocoa epoch
1228 static time_t epoch = 0;
1229 if (!epoch) {
1242 epoch = timegm(&tm_epoch);
1245 return epoch;