InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RE: RE: InstantDB: Dec 31, 2000 problem with IDB (versions3.21 and 3.25)


Luke

I was using the MS JVM. It happened straight away on JDK 1.2.2 and 1.3. 
I've attached a modified version of example.java that shows the 
sequence of calls that IDB makes in order to interpret the date:

Calendar c = Calendar.getInstance();
c.setLenient(false);
try {
	c.set (1945,11,25,0,0,0);
	c.set (Calendar.MILLISECOND, 0);
	java.util.Date retVal = c.getTime();
} catch (IllegalArgumentException e) {
	e.printStackTrace();
} // try-catch

It crashes in the c.getTime() call if the system date is 31 Dec 2000.

AFAIK - this is a valid sequence of calls with valid parameters. Anyone 
out there know what's going wrong?

Pete

----- Original Message -----
From: "Luke Lonergan" <llonergan@didera.com>
Date: Monday, January 8, 2001 5:45 am
Subject: RE: RE: InstantDB: Dec 31, 2000 problem with IDB (versions 
3.21 and 3.25)

> > Sorry - I still can't reproduce this. Maybe it's a locale 
> specific 
> > thing. What country are you in?
> 
> US, EST. Strange...
> 
> I'm using the jdk 1.3 for development and runtime... you?
> 
> Luke
> -------------------------------------------------------------------
> ----------
> To unsubscribe from this mailing list, send email to 
> majordomo@enhydra.orgwith the text "unsubscribe instantdb" in the 
> body of the email.
> If you have other questions regarding this mailing list, send 
> email to
> the list admin at owner-instantdb@enhydra.org.
> 

example.java