Re: Date.toString() causing StringIndexOutOfBoundsException
"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <006401c3f7c2$aa426560$764000b4@kardis> |
GregorianCalendar had some incorrect fields with these insane inputs. > new Date(8921596557816496128L).toString(); > new Date(4314017228203753472L).toString(); This will not throw the exception in future releases. Kris ----- Original Message ----- From: "Shawn Silverman" <[email protected]> To: <tini-6tN4nzCoH/[email protected]> Sent: Thursday, February 19, 2004 2:35 PM Subject: [TINI]Date.toString() causing StringIndexOutOfBoundsException > These cause a StringIndexOutOfBoundsException: > > new Date(8921596557816496128L).toString(); > new Date(4314017228203753472L).toString(); > > The Limitations.txt document states that incorrect values will be returned > if the dates are out of range, not that it will throw an exception. > > Thanks, > -Shawn > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini > _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini