code: public synchronized static String formatLocal(long gmtTime, String format)
    {
      _localDate.setGMTTime(gmtTime);
  
      return _localDate.format(new CharBuffer(), format).toString();
    }
docs: Formats a time in the local time zone.
  
  @param time in milliseconds, GMT, from the epoch.
  @param format formatting string.