private Date penalyDateWithThreeMonths(final Date date){
  final Calendar penalyDate=Calendar.getInstance();
  penalyDate.setTime(date);
  penalyDate.add(Calendar.MONTH,3);
  penalyDate.set(Calendar.DAY_OF_MONTH,1);
  return penalyDate.getTime();
}

private Date penalyDateWithThreeMonths ( final Date date ) { final Calendar penalyDate = Calendar . getInstance ( ) ; penalyDate . setTime ( date ) ; penalyDate . add ( Calendar . MONTH , 3 ) ; penalyDate . set ( Calendar . DAY_OF_MONTH , 1 ) ; return penalyDate . getTime ( ) ; }
returns date by adding three months
