| 1362 | */ |
| 1363 | |
| 1364 | static struct tm * gmtsub(const time_t *const timep, const int_fast32_t offset, struct tm *const tmp) { |
| 1365 | struct tm * result; |
| 1366 | |
| 1367 | if (!gmt_is_set) { |
| 1368 | gmt_is_set = TRUE; |
| 1369 | gmtload(gmtptr); |
| 1370 | } |
| 1371 | result = timesub(timep, offset, gmtptr, tmp); |
| 1372 | return result; |
| 1373 | } |
| 1374 | |
| 1375 | // [[Rcpp::register]] |
| 1376 | struct tm * gmtime_(const time_t * const timep) { |