william007
asked on
Different between Calendar and GregorianCalendar?
What is the different between Calendar and GregorianCalendar?
How we choose whether we are using Calendar or GregorianCalendar?
How we choose whether we are using Calendar or GregorianCalendar?
The type of Calendar you use depends on the date system you use. Western countries normally use the Gregorian implementation
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
From the link http://www.devx.com/tips/Tip/5680
>>However, as part of the internationalization features introduced with Java 1.1, most of the methods in >>Date were deprecated
Yes, in the api there is a lot of deprecated method for date, but how is it related to internationalization features?
>>However, as part of the internationalization features introduced with Java 1.1, most of the methods in >>Date were deprecated
Yes, in the api there is a lot of deprecated method for date, but how is it related to internationalization features?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
william007, I've posted the link just to see the difference between Calendar and GregorianCalendar.
I think that the "internationalization features" phrase is used without much intention in the context.
I think that the "internationalization features" phrase is used without much intention in the context.
ASKER
http://mindprod.com/jgloss/calendar.html
is really useful, thanks:-)
Btw, Is there a reason many date API method or constructor is deprecated?
For example for java.sql.Date here
http://java.sun.com/j2se/1.4.2/docs/api/index.html
is really useful, thanks:-)
Btw, Is there a reason many date API method or constructor is deprecated?
For example for java.sql.Date here
http://java.sun.com/j2se/1.4.2/docs/api/index.html
ASKER
>>The only difference between the Gregorian and the Julian calendar is the leap year rule
But why it mention JulianCalendar in the API, yet I don't see a class called JulianCalendar?
But why it mention JulianCalendar in the API, yet I don't see a class called JulianCalendar?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(My last comment of course related to your question about the 'absence' of JulianCalendar)
ASKER
Thanks:-)
:-)