Updates to TimeRange (to fix Issue #1094)

Timerange fix

closes #1094 
Why the class? It looks like all these tests can just be functions?