Searched refs:old_time (Results 1 – 1 of 1) sorted by relevance
91 timelib_time *timelib_add(timelib_time *old_time, timelib_rel_time *interval) in timelib_add() argument94 timelib_time *t = timelib_time_clone(old_time); in timelib_add()117 if (old_time->dst == 1 && t->dst == 0 && !interval->y && !interval->m && !interval->d) { in timelib_add()118 t->sse -= old_time->z; in timelib_add()128 timelib_time *timelib_sub(timelib_time *old_time, timelib_rel_time *interval) in timelib_sub() argument131 timelib_time *t = timelib_time_clone(old_time); in timelib_sub()150 if (old_time->dst == 1 && t->dst == 0 && !interval->y && !interval->m && !interval->d) { in timelib_sub()151 t->sse -= old_time->z; in timelib_sub()155 if (old_time->dst == 0 && t->dst == 1 && !interval->y && !interval->m && !interval->d ) { in timelib_sub()156 t->sse -= old_time->z; in timelib_sub()
Completed in 3 milliseconds