public void setShowMonthItem ( boolean enable ) { if ( enable && ! showMonthItem ) { // create the in 1 month item final Calendar date = Calendar . getInstance ( ) ; date . add ( Calendar . MONTH , 1 ) ; addAdapterItem ( new DateItem ( formatDate ( date ) , date , R . id . date_month ) ) ; } else if ( ! enable && showMonthItem ) { removeAdapterItemById ( R . id . date_month ) ; } showMonthItem = enable ; }
Toggles showing the month item . Month mode an item in exactly one month from now .