add:   var event = Cc["@mozilla.org/calendar/event;1"].createInstance(Ci.calIEvent); event.icalString = "BEGIN:VEVENT\nUID:45674d53-229f-48c6-9f3b-f2b601e7ae4d\nSUMMARY:New Event\nDTSTART;VALUE=DATE:20071003\nDTEND;VALUE=DATE:20071004\nEND:VEVENT"; do_check_eq(event.startDate.timezone, "floating"); do_check_eq(event.endDate.timezone, "floating"); 
context: function run_test() {    const Cc = Components.classes;    const Ci = Components.interfaces;    var cd = Cc["@mozilla.org/calendar/datetime;1"].             createInstance(Ci.calIDateTime);    cd.resetTo(2005, 10, 13,               10, 0, 0,               "/mozilla.org/20050126_1/America/Bogota");    do_check_eq(cd.hour, 10);    do_check_eq(cd.icalString, "20051113T100000");    var cd_floating = cd.getInTimezone("floating");    do_check_eq(cd_floating.hour, 10);    var cd_utc = cd.getInTimezone("UTC");    do_check_eq(cd_utc.hour, 15);    do_check_eq(cd_utc.icalString, "20051113T150000Z");    cd.hour = 25;    do_check_eq(cd.hour, 1);    do_check_eq(cd.day, 14);    // Test nativeTime on dates    // setting .isDate to be true on a date should not change its nativeTime    // bug 315954,    cd.hour = 0;    cd_allday = cd.clone();    cd_allday.isDate = true;    do_check_eq(cd.nativeTime, cd_allday.nativeTime);    // Daylight savings test    cd.resetTo(2006, 2, 26,               1, 0, 0,               "/mozilla.org/20050126_1/Europe/Amsterdam");    do_check_eq(cd.weekday, 0);    do_check_eq(cd.timezoneOffset, 1*3600);    cd.day += 1;    do_check_eq(cd.timezoneOffset, 2*3600);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/48b9e29053fc3fe41e92a562003361cbe0590581/test_datetime.js/buggy/calendar/test/unit/test_datetime.js