public static String retrieveGenericDisplayName(String id,int style,Locale locale){
  String[] names=retrieveDisplayNamesImpl(id,locale);
  if (Objects.nonNull(names)) {
    return names[6 - style];
  }
 else {
    return null;
  }
}

public static String retrieveGenericDisplayName ( String id , int style , Locale locale ) { String [ ] names = retrieveDisplayNamesImpl ( id , locale ) ; if ( Objects . nonNull ( names ) ) { return names [ 6 - style ] ; } else { return null ; } }
retrieves a generic time zone display name for a time zone id .
