public static boolean matches()

in gflog-core/src/main/java/com/epam/deltix/gflog/core/layout/template/DefaultDateTimeTemplate.java [123:139]


    public static boolean matches(final String template) {
        if (template == null) {
            return true;
        }

        if (template.startsWith(TEMPLATE_PREFIX) && template.length() <= TEMPLATE_PREFIX.length() + 9) {
            for (int i = TEMPLATE_PREFIX.length(), end = template.length(); i < end; i++) {
                if (template.charAt(i) != 'S') {
                    return false;
                }
            }

            return true;
        }

        return false;
    }