Lines Matching refs:iw
93 void timelib_isoweek_from_date(timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iw, timeli… in timelib_isoweek_from_date() argument
111 *iw = 53; in timelib_isoweek_from_date()
113 *iw = 52; in timelib_isoweek_from_date()
125 *iw = 1; in timelib_isoweek_from_date()
134 *iw = j / 7; in timelib_isoweek_from_date()
136 *iw -= 1; in timelib_isoweek_from_date()
141 …ate(timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iy, timelib_sll *iw, timelib_sll *id) in timelib_isodate_from_date() argument
143 timelib_isoweek_from_date(y, m, d, iw, iy); in timelib_isodate_from_date()
147 timelib_sll timelib_daynr_from_weeknr(timelib_sll iy, timelib_sll iw, timelib_sll id) in timelib_daynr_from_weeknr() argument
157 return day + ((iw - 1) * 7) + id; in timelib_daynr_from_weeknr()
160 void timelib_date_from_isodate(timelib_sll iy, timelib_sll iw, timelib_sll id, timelib_sll *y, time… in timelib_date_from_isodate() argument
162 timelib_sll daynr = timelib_daynr_from_weeknr(iy, iw, id) + 1; in timelib_date_from_isodate()