+ "|" + (lc == null ? "" : JRDataUtils.getLocaleCode(lc))
+ "|" + (tz == null ? "" : JRDataUtils.getTimeZoneId(tz));
DateFormat dateFormat = (DateFormat)dateFormatCache.get(key);
if (dateFormat == null)
{
FormatFactory formatFactory = DefaultFormatFactory.createFormatFactory(formatFactoryClass);//FIXMEFORMAT cache this too
dateFormat = formatFactory.createDateFormat(pattern, lc, tz);
dateFormatCache.put(key, dateFormat);
}
return dateFormat;
}