class_docstr: Base class for DateMatcher Annotators
      
docstr: Sets desired output format for extracted dates, by default yyyy/MM/dd.
  
  Not all of the date information needs to be included. For example
  ``"YYYY"`` is also a valid input.
  
  Parameters
  ----------
  value : str
      Desired output format for dates extracted.
docstr_tok: ["Sets","desired","output","format","for","extracted","dates",",","by","default","yyyy\/MM\/dd",".","Not","all","of","the","date","information","needs","to","be","included",".","For","example","``","``","YYYY","''","``","is","also","a","valid","input",".","Parameters","--","--","--","--","--","value",":","str","Desired","output","format","for","dates","extracted","."]
code: def setOutputFormat(self, value):
      """Sets desired output format for extracted dates, by default yyyy/MM/dd.
  
      Not all of the date information needs to be included. For example
      ``"YYYY"`` is also a valid input.
  
      Parameters
      ----------
      value : str
          Desired output format for dates extracted.
      """
      return self._set(outputFormat=value)
  
file_path: spark-nlp/python/sparknlp/annotator/matcher/date_matcher.py
imports: from sparknlp.common import *
label_desc: Use image node_id 2 for calling the DateMatcherUtils obj's underlying member method code with example usage: obj.setOutputFormat(value) and returns: self