Searched refs:tm_wday (Results 1 - 15 of 15) 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.c61 if ((day = tm->tm_wday - tm->tm_yday % 7) < 0)
68 else if (week == 53 && (tm->tm_wday + (31 - tm->tm_mday)) < 4)
78 d = tm->tm_wday;
81 if (d = tm->tm_wday - day)
H A Dtmfix.c53 * check for special case that adjusts tm_wday at the end
152 w = tm->tm_wday;
155 if (w = (w - p->tm_wday))
159 tm->tm_wday += w;
166 tm->tm_wday = (n + n / 4 - n / 100 + n / 400 + tm->tm_yday + 1) % 7;
H A Dtmxmake.c98 tm->tm_wday = (x + 4) % 7;
H A Dtmxfmt.c247 n = TM_DAY_ABBREV + tm->tm_wday;
250 n = TM_DAY + tm->tm_wday;
552 if (!(i = tm->tm_wday))
570 cp = number(cp, ep, (long)tm->tm_wday, 0, width, pad);
H A Dtmxdate.c641 k = tm->tm_wday;
659 k = tm->tm_wday;
680 k = tm->tm_wday;
690 tm->tm_wday = k;
1409 tm->tm_mday += 7 * m - tm->tm_wday + 1;
1446 j -= tm->tm_wday;
1447 message((-1, "AHA#%d mday=%d wday=%d day=%d dir=%d f=%d i=%d j=%d l=%d m=%d", __LINE__, tm->tm_mday, tm->tm_wday, day, dir, f, i, j, l, m));
1712 j = day - tm->tm_wday;
1728 message((-1, "AHA#%d WORK mday=%d wday=%d", __LINE__, tm->tm_mday, tm->tm_wday));
1729 if (tm->tm_wday
[all...]
H A Dtmxscan.c146 if ((n = set->wday - tm->tm_wday) < 0)
/ast/src/lib/libast/comp/
H A Dstrftime.c66 tm->tm_wday < 0 || tm->tm_wday > 6 ||
77 if (tm->tm_wday >= 0 && tm->tm_wday <= 6)
78 tl.tm_wday = tm->tm_wday;
94 tl.tm_wday = tm->tm_wday;
H A Dmktime.c61 tm.tm_wday = ts->tm_wday;
71 ts->tm_wday = tm.tm_wday;
H A Dstrptime.c62 tm.tm_wday = ts->tm_wday;
76 ts->tm_wday = tm.tm_wday;
H A Dgetdate.c77 ts.tm_wday = tm->tm_wday;
/ast/src/lib/libast/include/
H A Dtm.h144 int tm_wday; member in struct:Tm_s
/ast/src/cmd/dsslib/time_t/
H A Dtime_t.c461 r->value.number = state->tm.tm_wday;
530 if ((i -= state->tm.tm_wday) < 0)
533 state->tm.tm_wday = a->value.number;
/ast/src/cmd/coshell/
H A Dschedule.c209 if (!state.tm->tm_wday)
210 state.tm->tm_wday = 7;
/ast/src/lib/libtksh/tcl/
H A DtclDate.c501 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);

Completed in 34 milliseconds