Lines Matching refs:tm2
1377 struct tm tm2(tm);
1378 time_t timet = mktime(&tm2);
1384 if ( tm2.tm_year == 70 && tm2.tm_mon == 0 && tm2.tm_mday == 1 )
1388 tm2.tm_hour * MIN_PER_HOUR * SEC_PER_MIN +
1389 tm2.tm_min * SEC_PER_MIN +
1390 tm2.tm_sec));
1433 struct tm tm2(tm1);
1434 mktime(&tm2);
1435 if ( tm2.tm_isdst != tm1.tm_isdst )
1436 tm1.tm_isdst = tm2.tm_isdst;
1672 Tm tm2(*tm, tz);
1674 tm2.msec = (wxDateTime_t)(timeOnly % 1000);
1675 return tm2;
3725 Tm tm2 = wxDateTime(1, Jan, tm.year).SetToYearDay(yday).GetTm();
3727 tm.mon = tm2.mon;
3728 tm.mday = tm2.mday;