(y, m, d, hh, mm, ss, dstflag)
| 154 | |
| 155 | |
| 156 | def _build_struct_time(y, m, d, hh, mm, ss, dstflag): |
| 157 | wday = (_ymd2ord(y, m, d) + 6) % 7 |
| 158 | dnum = _days_before_month(y, m) + d |
| 159 | return _time.struct_time((y, m, d, hh, mm, ss, wday, dnum, dstflag)) |
| 160 | |
| 161 | def _format_time(hh, mm, ss, us, timespec='auto'): |
| 162 | specs = { |
no test coverage detected