MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / gmtsub

Function gmtsub

src/date.cpp:1364–1373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers 1

gmtime_Function · 0.85

Calls 2

gmtloadFunction · 0.85
timesubFunction · 0.85

Tested by

no test coverage detected