Class TimeSegment allows your time more readable.