Date is now used only to store the time information you get from Calendar if
you want current date and time (that's why all the setters and getters are
deprecated).

2010/10/26 TreKing <[email protected]>

> On Tue, Oct 26, 2010 at 10:37 AM, Aaron <[email protected]> wrote:
>
>> Which one should I use java.util.Date or android.text.format.Time?
>
>
> Looking at the docs, the Date class is pretty much obsolete (nearly
> completed deprecated), and says to use Calendar instead.
>
> Then the Time docs says:
> "The Time class is a faster replacement for the java.util.Calendar and
> java.util.GregorianCalendar classes."
>
> Seems like an easy choice.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to