Added constructor to class TimeSpec to initialize it with milliseconds.