FileDocCategorySizeDatePackage
VCalTest.javaAPI DocAndroid 1.5 API2165Wed May 06 22:42:48 BST 2009com.android.providers.calendar

VCalTest

public class VCalTest extends TestCase

Fields Summary
Constructors Summary
Methods Summary
public voidtestParse1()

        String str =
                "DTSTART;TZID=\"America/Los_Angeles\":20060908T170000\r\n"
                        + "DURATION;X-TEST=joe;X-Test=\"http://joe;\":PT3600S\r\n"
                        + "RRULE:FREQ=WEEKLY;BYDAY=FR;WKST=SU\r\n"
                        + "BEGIN:VTIMEZONE\r\n"
                        + "TZID:America/Los_Angeles\r\n"
                        + "X-LIC-LOCATION:America/Los_Angeles\r\n"
                        + "BEGIN:STANDARD\r\n"
                        + "TZOFFSETFROM:-0700\r\n"
                        + "TZOFFSETTO:-0800\r\n"
                        + "TZNAME:PST\r\n"
                        + "DTSTART:19701025T020000\r\n"
                        + "RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\r\n"
                        + "END:STANDARD\r\n"
                        + "BEGIN:DAYLIGHT\r\n"
                        + "TZOFFSETFROM:-0800\r\n"
                        + "TZOFFSETTO:-0700\r\n"
                        + "TZNAME:PDT\r\n"
                        + "DTSTART:19700405T020000\r\n"
                        + "RRULE:\r\n"
                        + " FREQ=YEARLY;BYMONTH=4;BYDAY=1SU\r\n"
                        + "END:DAYLIGHT\r\n"
                        + "END:VTIMEZONE\r\n";
        VCal.parse(str);