rem: case "2weeks": 
add: case "next14Days": 
context: function getAndSetEventTable( ){   var Today = new Date();   //do this to allow all day events to show up all day long   var StartDate = new Date( Today.getFullYear(), Today.getMonth(), Today.getDate(), 0, 0, 0 );   var EndDate;   switch( document.getElementById( "event-filter-menulist" ).selectedItem.value )   {      case "all":         return( gEventSource.getAllEvents() );               case "today":         EndDate = new Date( StartDate.getTime() + ( 1000 * 60 * 60 * 24 ) - 1 );         return( gEventSource.getEventsForRange( StartDate, EndDate ) );               case "week":         EndDate = new Date( StartDate.getTime() + ( 1000 * 60 * 60 * 24 * 8 ) );         return( gEventSource.getEventsForRange( StartDate, EndDate ) );               case "2weeks":         EndDate = new Date( StartDate.getTime() + ( 1000 * 60 * 60 * 24 * 15 ) );         return( gEventSource.getEventsForRange( StartDate, EndDate ) );               case "month":         EndDate = new Date( StartDate.getTime() + ( 1000 * 60 * 60 * 24 * 32 ) );         return( gEventSource.getEventsForRange( StartDate, EndDate ) );               case "future":         return( gEventSource.getAllFutureEvents() );            case "current":         var SelectedDate = gCalendarWindow.getSelectedDate();         var MidnightSelectedDate = new Date( SelectedDate.getFullYear(), SelectedDate.getMonth(), SelectedDate.getDate(), 0, 0, 0 );         EndDate = new Date( MidnightSelectedDate.getTime() + ( 1000 * 60 * 60 * 24 ) - 1000 );         return( gEventSource.getEventsForRange( MidnightSelectedDate, EndDate ) );            default:          dump( "there's no case for "+document.getElementById( "event-filter-menulist" ).selectedItem.value );         return( eventTable = new Array() );   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f4a56d97fa406d3d00b6be4ded19adc0251fef65/unifinder.js/clean/calendar/resources/content/unifinder.js