@NonNull public static String dateToString(@NonNull Date date,@NonNull DateFormat df){
  return df.format(date);
}

@ NonNull public static String dateToString ( @ NonNull Date date , @ NonNull DateFormat df ) { return df . format ( date ) ; }
converts a date object to a string representation
