code: public void setLocale(Locale locale)
     {
        List<SimpleDateFormat> formats = new ArrayList<SimpleDateFormat>();
        for (SimpleDateFormat format : m_formats)
        {
           formats.add(new SimpleDateFormat(format.toPattern(), locale));
        }
  
        m_formats = formats.toArray(new SimpleDateFormat[formats.size()]);
     }
docs: This method is called when the locale of the parent file is updated.
  It resets the locale specific date attributes to the default values
  for the new locale.
  
  @param locale new locale