Home
last modified time | relevance | path

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

/kernel/time/
Dtimeconv.c49 u32 u32tmp, day_of_century, year_of_century, day_of_year, month, day; in time64_to_tm() local
114 day_of_year = lower_32_bits(u64tmp) / 2939745 / 4; in time64_to_tm()
119 u32tmp = 2141 * day_of_year + 132377; in time64_to_tm()
127 is_Jan_or_Feb = day_of_year >= 306; in time64_to_tm()
133 day_of_year += is_Jan_or_Feb ? -306 : 31 + 28 + is_leap_year; in time64_to_tm()
139 result->tm_yday = (int) day_of_year; in time64_to_tm()