src/main/java/walkingkooka/datetime/PatternVisitor.java
/**
     * Accepts a pattern and calls visit methods for each of its components.
     */
Accepts a pattern and calls visit methods for each of its components.
Accepts a pattern and calls visit methods for each of its components .
@Override
    public void accept(final String pattern) {
        Objects.requireNonNull(pattern, "pattern");
        int i = 0;
        final int patternLength = pattern.length();
        while (i < patternLength) {
            i = this.traverseChar(pattern.charAt(i),
                    pattern,
                    i);
        }
    }
@ Override public void accept ( final String pattern ) { Objects . requireNonNull ( pattern , "pattern" ) ; int i = 0 ; final int patternLength = pattern . length ( ) ; while ( i < patternLength ) { i = this . traverseChar ( pattern . charAt ( i ) , pattern , i ) ; } }
Accepts a pattern and calls visit methods for each of its components.
Accepts a pattern and calls visit methods for each of its components .