No I don't. Time as been converted from string to timemilli on a serveur for efficiency, and I have to convert them back to String when I want to display it.
2011/10/14 Zsolt Vasvari <zvasv...@gmail.com> > Sure, if you don't care about localization issues. > > On Oct 14, 5:26 am, Thierry Legras <tleg...@gmail.com> wrote: > > Hi, > > > > I am optimizing the critical parts of my code, and I coming to some > > ResourceCursorAdapter bindView method. > > Though the method is quite long, I saw on traceview that only 2 lines are > > taking 40% of the time in traceview; those are call to DateFormat: > > > > ((TextView)view.findViewById(R.id.EPG_list_item_hour)).setText( > > android.text.format.DateFormat.format("kk:mm",beginTimeMilli) + " - " > + > > android.text.format.DateFormat.format("kk:mm",endTimeMilli)); > > > > So just curious: Is there any more efficient way to transform a > > "timeMillisecond" time to a date string (in my case hour/minute)? > > > > Thierry. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Thierry. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en