Added TimeSpan constructor.