Searched refs:localtm (Results 1 – 5 of 5) sorted by relevance
21 struct tm *localtm; in main() local24 localtm = localtime(&clock); in main()25 hh = localtm->tm_hour; in main()26 mm = localtm->tm_min; in main()27 ss = localtm->tm_sec; in main()
21 struct tm *localtm; in main() local24 localtm = localtime(&cal); in main()25 yy = localtm->tm_year + 1900; in main()26 mm = localtm->tm_mon + 1; in main()27 dd = localtm->tm_mday; in main()
179 struct tm *localtm; in date() local185 mm = localtm->tm_mon + 1; in date()186 dd = localtm->tm_mday; in date()209 localtm->tm_mday = dd; in date()250 struct tm *localtm; in timebox_builder() local255 hh = localtm->tm_hour; in timebox_builder()256 mm = localtm->tm_min; in timebox_builder()257 ss = localtm->tm_sec; in timebox_builder()274 localtm->tm_hour = hh; in timebox_builder()275 localtm->tm_min = mm; in timebox_builder()[all …]
895 struct tm localtm[2], gmtm[2]; in showextrema() local903 lotmp = my_localtime_rz(tz, &lo, &localtm[old]); in showextrema()906 localtm[old] = *lotmp; in showextrema()908 localtm[old].tm_sec = -1; in showextrema()918 if (! my_localtime_rz(tz, &t, &localtm[new])) in showextrema()919 localtm[new].tm_sec = -1; in showextrema()922 if (((localtm[old].tm_sec < 0) != (localtm[new].tm_sec < 0)) in showextrema()