Hi to everyone
It is probable a silly question but I having difficulties interpreting
the Duration attribute that is returned from a calendar atomEntry
content.
Using GDATA the following code returns a list of the events from a
public calendar
ArrayList list = new ArrayList();
AtomFeed feedA = new AtomFeed(calendarQuery.Uri,this);
Stream streamA = this.Query(calendarQuery.Uri);
feedA.Parse(streamA, AlternativeFormat.Atom);
streamA.Close();
foreach(AtomEntry en in feedA.Entries){
AtomContent contentillo = en.Content as AtomContent;
list.Add("Title:"+en.Title.Text
+"<br>"+contentillo.Content.ToString());
}
I'm building a parser for the content of atom entry however i still
don't quite understand how the Duration value can be interpreted.One
entry in the calendar content is the following.In this case this
recurrent event duration value is 14400 but what does it mean?
Title:Feria del Payaso<br>Recurring Event<br> First start: 2007-12-24
08:00:00 MST <br> Duration: 14400 <br>Event Status: confirmed
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---