How can I parse a period of date into a String[ ] day by day in Java?
<p>For example,the input parameters are 2011-01-01 and 2012-01-01,
and I want to parse this period day by day like 2011-01-01~2011-01-02, 2011-01-02~2011-01-03...
Finally,store them in a array of String?</p>

<p>Thanks in advance.</p>
