| 1219 | } // #nocov end |
| 1220 | |
| 1221 | static int leaps_thru_end_of(const int y) { |
| 1222 | return (y >= 0) ? (y / 4 - y / 100 + y / 400) : |
| 1223 | -(leaps_thru_end_of(-(y + 1)) + 1); |
| 1224 | } |
| 1225 | |
| 1226 | static struct tm * timesub(const time_t *const timep, const int_fast32_t offset, |
| 1227 | const struct state *const sp, struct tm *const tmp) { |