public static String formatAsGeneralizedTime(final Date date){
  return formatAsGeneralizedTime(date.getTime());
}

public static String formatAsGeneralizedTime ( final Date date ) { return formatAsGeneralizedTime ( date . getTime ( ) ) ; }
returns a string containing provided date formatted using the generalized time syntax .
