change TimeSpan to Interval in Location