This content has been marked as final.
Show 5 replies
-
1. Re: What's wrong with this code? Please help!
petertje Apr 10, 2003 6:34 AM (in response to tomyang)This is not really an EJB problem, is it?
Why don't you try http://forum.java.sun.com/forum.jsp?forum=54
Peter. -
2. Re: What's wrong with this code? Please help!
shmel Apr 10, 2003 7:22 AM (in response to tomyang)Well, I have compiled your code, it's quite correct.
Do you use right SOURCE_PATH when compiling? -
3. Re: What's wrong with this code? Please help!
shmel Apr 10, 2003 7:25 AM (in response to tomyang)Do you use correct SOURCE_PATH when compile?
-
4. Re: What's wrong with this code? Please help!
darranl Apr 10, 2003 9:26 AM (in response to tomyang)Your code will never compile unless you use JDK 1.4, in JDK 1.3 getTimeInMillis is protected not public.
You could either use JDK 1.4 or extend GergorianCalendar and overide getTimeInMillis to make it public. -
5. Re: What's wrong with this code? Please help!
tomyang Apr 10, 2003 12:46 PM (in response to tomyang)darranl is right. I extended the GregorianCalendar class and made the getTimeInMillis() public and it worked. Thank you all for your kind help!
Regards,
Tom