Searched refs:year_of_century (Results 1 - 2 of 2) sorted by relevance
/linux-master/kernel/time/ |
H A D | timeconv.c | 49 u32 u32tmp, day_of_century, year_of_century, day_of_year, month, day; local 113 year_of_century = upper_32_bits(u64tmp); 116 year = 100 * century + year_of_century; 117 is_leap_year = year_of_century ? !(year_of_century % 4) : !(century % 4);
|
/linux-master/drivers/rtc/ |
H A D | lib.c | 58 u32 u32tmp, udays, century, day_of_century, year_of_century, year, local 104 year_of_century = upper_32_bits(u64tmp); 107 year = 100 * century + year_of_century; 108 is_leap_year = year_of_century != 0 ? 109 year_of_century % 4 == 0 : century % 4 == 0;
|
Completed in 182 milliseconds