code: public final static DateFormat getDateInstance(int style)
      {
          return get(0, style, 2, Locale.getDefault(Locale.Category.FORMAT));
      }
docs: Gets the date formatter with the given formatting style
  for the default locale.
  @param style the given formatting style. For example,
  SHORT for "M/d/yy" in the US locale.
  @return a date formatter.