I'm betting you will have to sort it yourself.
If it's by time, then I think you can parse out the time information into year/month/day/hour/etc and put them in date objects to do your comparison and sort.
--
Darren
On 6/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi
Is there any way to get a sorted result of the queries?
Just got:
2006-06-22 10:00 - Event A
2006-06-19 15:30 - Event B
EventFeed myResultsFeed = myService.query(myQuery, EventFeed.class);
for (EventEntry e : myResultsFeed.getEntries()) {
System.out.println (e.getTimes().get(0).getStartTime()
.toUiString()
+ "\t- " + e.getTitle().getPlainText());
}
I excepted sorting by ascending date, which is unfortunately not the
case. So is there a way to change the results or am i supposed to do
it manually ?
thx in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Calendar Data API" 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/google-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---
- Re: Sorting Query-Results Darren Hinderer
- Re: Sorting Query-Results Kyle Marvin
- Re: Sorting Query-Results [EMAIL PROTECTED]
