Lines Matching defs:date

88 determinestyle(char *date, int *flags,
127 if ((p = strchr(date, ' ')) == NULL) {
128 if ((p = strchr(date, '/')) == NULL) {
129 CHECKSPECIAL(date, STRING_CNY, strlen(STRING_CNY),
131 CHECKSPECIAL(date, ncny.name, ncny.len, F_CNY);
132 CHECKSPECIAL(date, STRING_NEWMOON,
134 CHECKSPECIAL(date, nnewmoon.name, nnewmoon.len,
136 CHECKSPECIAL(date, STRING_FULLMOON,
138 CHECKSPECIAL(date, nfullmoon.name, nfullmoon.len,
140 CHECKSPECIAL(date, STRING_PASKHA,
142 CHECKSPECIAL(date, npaskha.name, npaskha.len, F_PASKHA);
143 CHECKSPECIAL(date, STRING_EASTER,
145 CHECKSPECIAL(date, neaster.name, neaster.len, F_EASTER);
146 CHECKSPECIAL(date, STRING_MAREQUINOX,
148 CHECKSPECIAL(date, nmarequinox.name, nmarequinox.len,
150 CHECKSPECIAL(date, STRING_SEPEQUINOX,
152 CHECKSPECIAL(date, nsepequinox.name, nsepequinox.len,
154 CHECKSPECIAL(date, STRING_JUNSOLSTICE,
156 CHECKSPECIAL(date, njunsolstice.name, njunsolstice.len,
158 CHECKSPECIAL(date, STRING_DECSOLSTICE,
160 CHECKSPECIAL(date, ndecsolstice.name, ndecsolstice.len,
162 if (checkdayofweek(date, &len, &offset, &dow) != 0) {
166 if (strlen(date) == len) {
167 strcpy(dayofweek, date);
170 strncpy(dayofweek, date, len);
172 strcpy(modifierindex, date + len);
176 if (isonlydigits(date, 1)) {
179 *imonth = (int)strtol(date, (char **)NULL, 10);
189 * original data in `date'.
193 p1 = date;
207 /* Check if there is a month-string in the date */
275 /* If both the month and date are specified as numbers */
339 debug_determinestyle(int dateonly, char *date, int flags, char *month,
346 printf("-------\ndate: |%s|\n", date);
422 * Possible date formats include any combination of:
432 parsedaymonth(char *date, int *yearp, int *monthp, int *dayp, int *flags,
457 debug_determinestyle(1, date, *flags, month, imonth,
460 if (determinestyle(date, flags, month, &imonth, dayofmonth,
469 debug_determinestyle(0, date, *flags, month, imonth,
802 debug_determinestyle(2, date, lflags, month, imonth,