code: public static String getDateTimePattern()
          throws EFapsException
      {
          final String formatStr = Configuration.getAttribute(Configuration.ConfigAttribute.FORMAT_DATETIME);
          return formatStr.matches("^[S,M,L,F,-]{2}$")
                          ? DateTimeFormat.patternForStyle(formatStr, Context.getThreadContext().getLocale())
                          : formatStr;
      }
docs: Gets the date pattern.
  
  @return the date pattern
  @throws EFapsException the e faps exception