Searched refs:old_time (Results 1 – 1 of 1) sorted by relevance
95 timelib_time *timelib_add(timelib_time *old_time, timelib_rel_time *interval) in timelib_add() argument98 timelib_time *t = timelib_time_clone(old_time); in timelib_add()121 if (old_time->dst == 1 && t->dst == 0 && !interval->y && !interval->m && !interval->d) { in timelib_add()122 t->sse -= old_time->z; in timelib_add()132 timelib_time *timelib_sub(timelib_time *old_time, timelib_rel_time *interval) in timelib_sub() argument135 timelib_time *t = timelib_time_clone(old_time); in timelib_sub()154 if (old_time->dst == 1 && t->dst == 0 && !interval->y && !interval->m && !interval->d) { in timelib_sub()155 t->sse -= old_time->z; in timelib_sub()159 if (old_time->dst == 0 && t->dst == 1 && !interval->y && !interval->m && !interval->d ) { in timelib_sub()160 t->sse -= old_time->z; in timelib_sub()
Completed in 3 milliseconds