Lines Matching full:day
39 int rtc_year_days(unsigned int day, unsigned int month, unsigned int year) in rtc_year_days() argument
41 return rtc_ydays[is_leap_year(year)][month] + day - 1; in rtc_year_days()
58 day_of_year, month, day; in rtc_time64_to_tm() local
75 * day of the week, 0000-03-01 was a Wednesday (in the proleptic in rtc_time64_to_tm()
85 * mathematically convenient because the day of the year does not in rtc_time64_to_tm()
88 * March 1st 0-th day of the year; in rtc_time64_to_tm()
90 * April 1st 31-st day of the year; in rtc_time64_to_tm()
92 * January 1st 306-th day of the year; (Important!) in rtc_time64_to_tm()
94 * February 28th 364-th day of the year; in rtc_time64_to_tm()
95 * February 29th 365-th day of the year (if it exists). in rtc_time64_to_tm()
125 day = ((u16) u32tmp) / 2141; in rtc_time64_to_tm()
128 * Recall that January 01 is the 306-th day of the year in the in rtc_time64_to_tm()
136 day = day + 1; in rtc_time64_to_tm()
144 tm->tm_mday = (int) day; in rtc_time64_to_tm()