Home
last modified time | relevance | path

Searched refs:old_time (Results 1 – 1 of 1) sorted by relevance

/PHP-8.0/ext/date/lib/
H A Dinterval.c100 timelib_time *timelib_add(timelib_time *old_time, timelib_rel_time *interval) in timelib_add() argument
103 timelib_time *t = timelib_time_clone(old_time); in timelib_add()
127 if (old_time->dst == 1 && t->dst == 0 && !interval->y && !interval->m && !interval->d) { in timelib_add()
128 t->sse -= old_time->z; in timelib_add()
138 timelib_time *timelib_sub(timelib_time *old_time, timelib_rel_time *interval) in timelib_sub() argument
141 timelib_time *t = timelib_time_clone(old_time); in timelib_sub()
161 if (old_time->dst == 1 && t->dst == 0 && !interval->y && !interval->m && !interval->d) { in timelib_sub()
162 t->sse -= old_time->z; in timelib_sub()
166 if (old_time->dst == 0 && t->dst == 1 && !interval->y && !interval->m && !interval->d ) { in timelib_sub()
167 t->sse -= old_time->z; in timelib_sub()

Completed in 5 milliseconds