rem: var eventStartDate = new Date( result.value ); 
add: eventStartDate = new Date( result.value ); 
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 )   {      var eventStartDate = new Date( calendarEvent.start.getTime() );   }         return eventStartDate;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fee2c2673bc5fa19c32bcbf7e7979df9d9ff8e50/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js