Jeff,<div><br></div><div>I think I see the problem. My test does the following:</div><div><br></div><div>1) compute a time point for month, day, year</div><div>2) convert that time point to ISO8601</div><div>3) convert the ISO string back to a time point</div>
<div><br></div><div>According to <a href="http://en.wikipedia.org/wiki/ISO_8601">http://en.wikipedia.org/wiki/ISO_8601</a> ISO8601 usually does not support +/- in front of the year.</div><div><br></div><div>So it's not really a bug, but a convention.</div>
<div><br></div><div>For now, I'll make sure my test doesn't generate negative years.</div><div><br></div><div>Although working with negative years and trying to convert them is probably not a typical use case.</div>
<div><br></div><div>Perhaps the documentation for the ISO conversions should be updated. Not a high priority.</div><div><br></div><div>Bill<br><br><div class="gmail_quote">On Wed, Sep 19, 2012 at 8:29 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Jeff,<div><br></div><div>In working on a test for vtkTimePointUtility, it seems that the code does not work for years < 0? <br clear="all">
<div><br></div><div>Is this expected?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Bill</div><div><br>
</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div>