rem: var now = new Date(); var start = new Date( this.calendarWindow.getSelectedDate() );  start.setHours( now.getHours() ); start.setMinutes( Math.ceil( now.getMinutes() / 5 ) * 5 ); start.setSeconds( 0 );  return start; 
add: return combineWithCurrentTime( this.calendarWindow.getSelectedDate() ); 
context: MonthView.prototype.getNewEventDate = function monthView_getNewEventDate( ){   // use the selected year, month and day   // and the current hours and minutes      var now = new Date();   var start = new Date( this.calendarWindow.getSelectedDate() );      start.setHours( now.getHours() );   start.setMinutes( Math.ceil( now.getMinutes() / 5 ) * 5 );   start.setSeconds( 0 );      return start;     }
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/9232e311ed3ed3ff7210d917d37a7f9520f12721/monthView.js/buggy/calendar/resources/content/monthView.js