MCPcopy Create free account
hub / github.com/eggert/tz / delta

Function delta

zdump.c:733–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731}
732
733static intmax_t
734delta(struct tm *newp, struct tm *oldp)
735{
736 return (newp->tm_year < oldp->tm_year
737 ? -delta_nonneg(oldp, newp)
738 : delta_nonneg(newp, oldp));
739}
740
741#ifndef TM_GMTOFF
742/* Return A->tm_yday, adjusted to compare it fairly to B->tm_yday.

Callers 2

mainFunction · 0.85
huntFunction · 0.85

Calls 1

delta_nonnegFunction · 0.85

Tested by

no test coverage detected