commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serge Knystautas" <>
Subject Re: [lang] status of CalendarUtils proposal
Date Sun, 08 Sep 2002 19:35:04 GMT
----- Original Message -----
From: "Stephen Colebourne" <>
To: "Jakarta Commons Developers List" <>
Sent: Sunday, September 08, 2002 3:11 PM
Subject: Re: [lang] status of CalendarUtils proposal

> I believe that Sun would explain it as:
> Date is locale independent (milliseconds only)
> Calendar is locale/calendar specific

I checked the Javadoc and "Date represents a specific instant in time, with
millisecond precision", and a "Calendar is in charge of converting between a
Date and integers like YEAR, MONTH, DAY," etc...   Then the docs add,
"subclasses of Calendar interpret a Date according to the rules of a
specific calendaring system."

Serge Knystautas
Loki Technologies

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message