This tests the ability of a TimeRanges object to return the time nearest its constituent ranges given a target time.