ojAlgo library: data mismatch bug?
<p>Recently, I start to use ojAlgo library. You can get more information from <a href="http://ojalgo.org/index.html" rel="nofollow">http://ojalgo.org/index.html</a>. </p>

<p>However, I have a problem when I try to use that. The problem is the stock date and stock price do not match when I want to retrieve the stock data from yahoo finance.</p>

<p>The following is the Java code snippet. </p>

<pre><code>YahooSymbol ysymbol = new YahooSymbol("BAC");

DateSeries&lt;BigDecimal&gt; ypriceSeries = ysymbol.getPriceSeries();

System.out.println(ypriceSeries.firstKey() + " " + ypriceSeries.firstValue().toString());
</code></pre>

<p>The return result is </p>

<blockquote>
  <p>Wed May 28 17:00:00 PDT 1986 2.89</p>
</blockquote>

<p>But I think the result should be </p>

<blockquote>
  <p>Thu May 29 17:00:00 PDT 1986 2.89</p>
</blockquote>

<p>As you can see, the date has offset. This problem affect the whole ypriceSeries result. The date of the corresponding stock price is moving backward by one day. </p>

<p>It made the whole stock data is not correct. Anyone has ideas? </p>

<p>Is it a bug or something else? Thanks.</p>
