GregorianCalendar Problem
"Marco Rotellini" <[email protected]> Thu, 12 Oct 2006 17:07:11 +0200
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, =20 I have a problem with my sablevm 1.13 on ARM9/Linux and GregorianCalendar-Class. It seems like the date provided by GregorianCalendar cal =3D new GregorianCalendar() or GregorianCalendar = cal =3D GregorianCalendar.getInstance() is incorrect. The Time-fields are correct but the month and day-of-month is incorrect (and certanly the year too, if it runs at the end of a year). The date seems to be about 15 days in the past but i cannot say if this is always like this or only in the few dates i tested. I found a similiar problem described here: http://sablevm.org/lists/sablevm-devel/2005-May/000481.html But no comment or solution for it. Is this a known issue and are there any workarounds? Regards Marco