Add a cadence method to TimeRange and add tests.

I have also removed the julian_date flag from time range
because as far as I could tell it was not working.