rem: if( calendarEvent.start ) { var eventStartDate = new Date( calendarEvent.start.getTime() ); } else var eventStartDate = new Date( calendarEvent.event.start.getTime() );  
add: var eventStartDate = new Date( calendarEvent.start.getTime() ); 
context: function getNextOrPreviousRecurrence( calendarEvent ){   var isValid = false;   if( calendarEvent.recur )   {      var now = new Date();      var result = new Object();      isValid = calendarEvent.getNextRecurrence( now.getTime(), result );      if( isValid )      {         var eventStartDate = new Date( result.value );      }      else      {         isValid = calendarEvent.getPreviousOccurrence( now.getTime(), result );                  var eventStartDate = new Date( result.value );      }   }      if( !isValid )   {      if( calendarEvent.start )      {         var eventStartDate = new Date( calendarEvent.start.getTime() );      }      else         var eventStartDate = new Date( calendarEvent.event.start.getTime() );         }         return eventStartDate;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b94e5a082c63475c343bf6529fcc40597a88b4bc/calendarEvent.js/buggy/calendar/resources/content/calendarEvent.js