I think we decided to use a single line `new Date(a, b, c, d, e, f, g)` so that the code doesn't suffer from DST shifts. That is why your week implementation should also be tweaked a bit.