Searched refs:dayno (Results 1 – 2 of 2) sorted by relevance
24 let mut dayno = ts / 86400; in time_to_tm() localVariable29 tm.tm_wday = ((dayno + 4) % 7) as i32; in time_to_tm()32 if dayno >= yearsize { in time_to_tm()33 dayno -= yearsize; in time_to_tm()40 tm.tm_yday = dayno as i32; in time_to_tm()42 while dayno >= YTAB[if leapyear(year) { 1 } else { 0 }][mon] { in time_to_tm()43 dayno -= YTAB[if leapyear(year) { 1 } else { 0 }][mon]; in time_to_tm()47 tm.tm_mday = dayno as i32 + 1; in time_to_tm()
269 dayno = 1276 dayno = int(dt_str[pos:pos + 1])279 base_date = self._calculate_weekdate(year, weekno, dayno)