• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/usr.bin/calendar/

Lines Matching refs:date

90 determinestyle(char *date, int *flags,
129 if ((p = strchr(date, ' ')) == NULL) {
130 if ((p = strchr(date, '/')) == NULL) {
131 CHECKSPECIAL(date, STRING_CNY, strlen(STRING_CNY),
133 CHECKSPECIAL(date, ncny.name, ncny.len, F_CNY);
134 CHECKSPECIAL(date, STRING_NEWMOON,
136 CHECKSPECIAL(date, nnewmoon.name, nnewmoon.len,
138 CHECKSPECIAL(date, STRING_FULLMOON,
140 CHECKSPECIAL(date, nfullmoon.name, nfullmoon.len,
142 CHECKSPECIAL(date, STRING_PASKHA,
144 CHECKSPECIAL(date, npaskha.name, npaskha.len, F_PASKHA);
145 CHECKSPECIAL(date, STRING_EASTER,
147 CHECKSPECIAL(date, neaster.name, neaster.len, F_EASTER);
148 CHECKSPECIAL(date, STRING_MAREQUINOX,
150 CHECKSPECIAL(date, nmarequinox.name, nmarequinox.len,
152 CHECKSPECIAL(date, STRING_SEPEQUINOX,
154 CHECKSPECIAL(date, nsepequinox.name, nsepequinox.len,
156 CHECKSPECIAL(date, STRING_JUNSOLSTICE,
158 CHECKSPECIAL(date, njunsolstice.name, njunsolstice.len,
160 CHECKSPECIAL(date, STRING_DECSOLSTICE,
162 CHECKSPECIAL(date, ndecsolstice.name, ndecsolstice.len,
164 if (checkdayofweek(date, &len, &offset, &dow) != 0) {
168 if (strlen(date) == len) {
169 strcpy(dayofweek, date);
172 strncpy(dayofweek, date, len);
174 strcpy(modifierindex, date + len);
178 if (isonlydigits(date, 1)) {
181 *imonth = (int)strtol(date, (char **)NULL, 10);
191 * original data in `date'.
195 p1 = date;
209 /* Check if there is a month-string in the date */
277 /* If both the month and date are specified as numbers */
341 debug_determinestyle(int dateonly, char *date, int flags, char *month,
348 printf("-------\ndate: |%s|\n", date);
424 * Possible date formats include any combination of:
434 parsedaymonth(char *date, int *yearp, int *monthp, int *dayp, int *flags,
459 debug_determinestyle(1, date, *flags, month, imonth,
462 if (determinestyle(date, flags, month, &imonth, dayofmonth,
471 debug_determinestyle(0, date, *flags, month, imonth,
810 debug_determinestyle(2, date, lflags, month, imonth,