Lines Matching refs:tmrec
311 struct tm tmrec;
313 uprv_memset( &tmrec, 0, sizeof(tmrec) );
314 tmrec.tm_year = 70;
315 tmrec.tm_mon = 0;
316 tmrec.tm_mday = 1;
317 t1 = mktime(&tmrec); /* seconds of 1/1/1970*/
320 uprv_memcpy( &tmrec, gmtime(&t), sizeof(tmrec) );
321 t2 = mktime(&tmrec); /* seconds of current GMT*/
641 struct tm tmrec;
646 uprv_memcpy( &tmrec, localtime(&t), sizeof(tmrec) );
647 dst_checked = (tmrec.tm_isdst != 0); /* daylight savings time is checked*/
648 t1 = mktime(&tmrec); /* local time in seconds*/
649 uprv_memcpy( &tmrec, gmtime(&t), sizeof(tmrec) );
650 t2 = mktime(&tmrec); /* GMT (or UTC) in seconds*/