Lines Matching defs:year
102 case UTC_TIME_STRLEN: // 2-digit year, not Y2K compliant
105 case GENERALIZED_TIME_STRLEN: // 4-digit year
141 * 2-digit year.
142 * 0 <= year <= 50 : assume century 21
143 * 50 < year < 70 : illegal per PKIX
144 * 70 < year <= 99 : assume century 20
154 /* bug fix... we need to end up with a 4-digit year! */
157 /* by definition - tm_year is year - 1900 */
159 date.year = x;
255 int(date.year % 10000), date.month, date.day,
260 /* UTC - 2 year digits - code which parses this assumes that
263 int(date.year % 100), date.month, date.day,
275 sprintf(outCssmDate, "%04d%02d%02d%02d%02d%02dZ", (int)gd.year, gd.month, gd.day, gd.hour, gd.minute, (unsigned int)gd.second);
284 unsigned int year, month, day, hour, minute, second;
285 sscanf(cssmDate, "%4d%2d%2d%2d%2d%2d", &year, &month, &day, &hour, &minute, &second);
286 gd.year = year;
316 case UTC_TIME_NOSEC_LEN: // 2-digit year, no seconds, not y2K compliant
320 case UTC_TIME_STRLEN: // 2-digit year, not Y2K compliant
323 case GENERALIZED_TIME_STRLEN: // 4-digit year
364 * 2-digit year.
365 * 0 <= year < 50 : assume century 21
366 * 50 <= year < 70 : illegal per PKIX
367 * 70 < year <= 99 : assume century 20
380 gd.year = x;