def replace_matcher(part, new_matcher)
      key = key_for(part)
      @components[key] = new_matcher.with_attribute(:name => /\(#{key}\)/)
    end
def replace_matcher(part, new_matcher)
      key = key_for(part)
      @components[key] = new_matcher.with_attribute(:name => /\(#{key}\)/)
    end
Replaces the matcher for the given date component.

 @param [Symbol]   part          The date component whose matcher should be replaced.
 @param [HasInput] new_matcher   The matcher to replace the old one.