Searched refs:tmisleapyear (Results 1 - 8 of 8) sorted by relevance

/ast/src/lib/libast/tm/
H A Dtmequiv.c56 return tm->tm_year < (2038 - 1900) ? (tm->tm_year + 1900) : equiv[tm->tm_wday + tmisleapyear(tm->tm_year)];
H A Dtmweek.c67 week = (day > 0 && day < 6 || tmisleapyear(tm->tm_year - 1)) ? 53 : 52;
H A Dtmxtime.c71 if (n > 1 && tmisleapyear(y))
H A Dtmfix.c34 #define LEAP(p) (tmisleapyear((p)->tm_year))
H A Dtmxdate.c1399 tm->tm_mday = tm_data.days[tm->tm_mon] + (tm->tm_mon == 1 && tmisleapyear(tm->tm_year));
1717 for (n = tm_data.days[tm->tm_mon] + (tm->tm_mon == 1 && tmisleapyear(tm->tm_year)); (tm->tm_mday + 7) <= n; tm->tm_mday += 7);
1722 tm->tm_mday = tm_data.days[tm->tm_mon] + (tm->tm_mon == 1 && tmisleapyear(tm->tm_year));
1726 tm->tm_mday = (set & FINAL) ? (tm_data.days[tm->tm_mon] + (tm->tm_mon == 1 && tmisleapyear(tm->tm_year))) : 1;
1731 if ((tm->tm_mday + j) > (tm_data.days[tm->tm_mon] + (tm->tm_mon == 1 && tmisleapyear(tm->tm_year))))
/ast/src/lib/libast/include/
H A Dtm.h41 #define tmisleapyear(y) (!((y)%4)&&(((y)%100)||!((((y)<1900)?((y)+1900):(y))%400))) macro
/ast/src/cmd/dsslib/time_t/
H A Dtime_t.c538 i += 365 + tmisleapyear(state->tm.tm_year);
/ast/src/lib/libjcl/
H A Dparse.c402 sfprintf(jcl->tp, "%d", tmisleapyear((int)strtol(fmttime("%Y", x), NiL, 10)));

Completed in 16 milliseconds