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;
    }
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;
    }
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 ; }
Gets the date pattern.

@return the date pattern
@throws EFapsException the e faps exception
Gets the date pattern .