Lines Matching full:parts
330 struct tm parts;
332 parts.tm_sec = (mCDE.mLastModFileTime & 0x001f) << 1;
333 parts.tm_min = (mCDE.mLastModFileTime & 0x07e0) >> 5;
334 parts.tm_hour = (mCDE.mLastModFileTime & 0xf800) >> 11;
335 parts.tm_mday = (mCDE.mLastModFileDate & 0x001f);
336 parts.tm_mon = ((mCDE.mLastModFileDate & 0x01e0) >> 5) -1;
337 parts.tm_year = ((mCDE.mLastModFileDate & 0xfe00) >> 9) + 80;
338 parts.tm_wday = parts.tm_yday = 0;
339 parts.tm_isdst = -1; // DST info "not available"
341 return mktime(&parts);