Find start and end date in java
<p>I have a list of String consisting of dates in a particular format say dd-MM-yyyy . I need to traverse the list and find out the start date and the end date in this list using java.
Example- </p>

<pre><code>list is-{22-12-2008,12-12-2009,21-12-2005,12-12-2008}
</code></pre>

<p>i shld have my result as start date is - <code>21-12-2005</code> and end date is <code>12-12-2009</code>. </p>
