Searched refs:day (Results 1 - 6 of 6) sorted by relevance

/ast/src/lib/libast/tm/
H A Dtmweek.c45 * 0 sunday first day of week
46 * 1 monday first day of week
47 * 2 monday first day of iso week
49 * if day<0 then set tm to first day of week
50 * otherwise set tm to day in week
55 tmweek(Tm_t* tm, int type, int week, int day) argument
61 if ((day = tm->tm_wday - tm->tm_yday % 7) < 0)
62 day += 7;
63 week = (tm->tm_yday + offset[day][typ
[all...]
H A Dtmxdate.c172 int day; local
211 day = -1;
222 * get <weekday year month day hour minutes seconds ?[ds]t [ap]m>
523 * min hour day-of-month month day-of-week
555 char day[7]; local
606 * day of month
627 * day of week
630 if ((k = range(t, &t, day, 0, 6)) < 0)
666 if (hit[j] && day[
[all...]
/ast/src/cmd/INIT/
H A Drelease.c86 static char day[] = "sunmontuewedthufrisat"; variable
170 if (string(s, day, elementsof(day), 3, &t))
/ast/src/cmd/tests/
H A Dtestdate.sh46 if [[ $d == +([a-z])day ]]
/ast/src/cmd/ksh93/tests/
H A Dcomvar.sh47 integer day=16
55 if (( newrec.born.day != 16 ))
/ast/src/cmd/tw/
H A Dfind.c223 unsigned long day; member in struct:State_s
1047 np->second.u = state->day - (np->first.u + 1) * DAY - 1;
1052 np->first.u = state->day - np->first.u * DAY + 1;
1055 np->second.u = state->day - np->first.u * DAY - 1;
1056 np->first.u = state->day - (np->first.u + 1) * DAY;
1305 state->day = tmtime(tm, TM_LOCALZONE);
1315 state->day = np->first.u;
1778 state.day = state.now = (unsigned long)time(NiL);

Completed in 18 milliseconds