private static synchronized String formatDateAsYear(Date d){
  return formatYearIn.format(d);
}

private static synchronized String formatDateAsYear ( Date d ) { return formatYearIn . format ( d ) ; }
format date synchronized because simpledateformat is invalid
