Searched refs:dtForTimegm3 (Results 1 – 1 of 1) sorted by relevance
126 struct tm dtForTimegm3; in main() local127 init_struct_tm( &dtForTimegm3 ); in main()130 dtForTimegm3.tm_mday = 1; // 1st in main()131 dtForTimegm3.tm_mon = 4; // of May in main()132 dtForTimegm3.tm_year = 2021 - TIME_TM_YEAR_BASE; in main()133 dtForTimegm3.tm_isdst = 1; // Daylight saving time is in effect. That only affects local time. in main()135 struct tm dtForMktime4 = dtForTimegm3; in main()137 time_t t3 = timegm( &dtForTimegm3 ); in main()140 dtForTimegm3.tm_wday != 6 || // 6 means Saturday. in main()141 dtForTimegm3.tm_isdst != 0 ) // timegm() should reset the daylight saving time flag. in main()