On multiscale computational mechanics with time-space homogenization