开发者

Android Google Calendar dtstart dtend

Actually I need to create an event in Google Calendar using my app. Every thing working fine I am not able to create desire start time and end time. Can any body please help me to tell how can I generate dtstart n dtend. i.e. I need to create an event for 20/12/2010. please

开发者_如何学Go

thanks


For your example, DTSTART=20101220, DTEND=20101221 since the end is exclusive.

See RFC 2445 for details, but the basic grammar is below:

date               = date-value

date-value         = date-fullyear date-month date-mday
date-fullyear      = 4DIGIT
date-month         = 2DIGIT        ; 01-12
date-mday          = 2DIGIT        ; 01-28, 01-29, 01-30, 01-31
                                   ; based on month/year
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜