Hi,
i'm trieing to get all calendar entries for example since today to
write them into a textfile but i am missing a lot of entries. What's
wrong with my query? The query delivers only a few entries... and
there are so much entries in the future...
Here's the code (i am using Visual Studio 2010 and C#):
m_service.setUserCredentials(<login>, <password>);
EventQuery oEventQuery = new EventQuery("https://www.google.com/
calendar/feeds/default/private/full");
EventFeed oEventFeed = m_service.Query(oEventQuery);
foreach (EventEntry oEventEntry in oEventFeed.Entries)
{
try
{
ExtensionList extLst = oEventEntry.ExtensionElements;
foreach (IExtensionElementFactory propert in extLst)
{
ExtendedProperty prop = propert as
ExtendedProperty;
When Times = propert as When;
if (Times != null)
{
if (Times.StartTime >= m_SinceDate)
{ lFutureEntry = true; }
}
}
....
If lFutureEntry is true, i do my file-writing-stuff.
Does anyone got an idea what's going wrong here?
Thanks in advance!
Jens
--
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://code.google.com/apis/calendar/community/forum.html