Time Series Representation: A Random Shifting Perspective