Compare a dateRange with other continous dates in another list to get adjacent ranges relative to the list compared
<p>e.g.</p>

<p>There is a date range from Feb9 thru May 19 in an interval. There is another list of effective dates in a Map for key values like  as of this date this object is returned (Jan 1, Object x), (Feb 1, Object y), (March 1, Object z) (April 1, Object a) (May 1, Object u), (June1, Object n) etc.</p>

<p>The algorithm need is to take the date range of Feb1 thru June19 and to get adjacent dates for the effective date ranges e.g.</p>

<p>the method would be </p>

<p>TreeMapreturnTemporalAdjacentInterval(Interval when)</p>

<p>result should be Treemap sorted by adjacent interval with (Feb9-March1, Object y) (March1-April1, Object z) (April1-May1, Object a) (May1-May19, Object u)</p>

<p>This is like martin fowlers temporal collection however more of a temporal adjacent interval retrieval. Language is Java joda-time Interval is suggested use for the returned intervals.</p>
