Lines Matching refs:date
42 * NSPR date and time functions
183 // Date was possibly too far in the future and would overflow. Return
184 // the most future date possible (year 2038).
187 // Date was possibly too far in the past and would underflow. Return
188 // the most past date possible (year 1901).
493 * This parses a time/date string into a PRTime
496 * if the time/date string can't be parsed.
537 int date = -1;
982 date = n3;
1000 date = n1;
1009 date = n2;
1033 else if ((end - rest) == 2) /* two digits - date or year */
1037 /* If we don't have a date (day of the month) and we see a number
1038 less than 32, then assume that is the date.
1040 Otherwise, if we have a date and not a year, assume this is the
1047 if (date < 0 && n < 32)
1048 date = n;
1060 else if ((end - rest) == 1) /* one digit - date */
1061 date = (date < 0 ? (rest[0]-'0') : date);
1132 a numerologically significant date... */
1133 if (month == TT_UNKNOWN || date == -1 || year == -1 || year > PR_INT16_MAX)
1145 if (date != -1)
1146 result->tm_mday = date;
1187 * date we are parsing to transform the date to GMT. We also
1203 date you are handing it is in daylight savings mode or not;
1209 * mktime will return (time_t) -1 if the input is a date
1217 * We avoid this crash by not calling mktime if the date is
1241 zone_offset for the date we are parsing is the same as