class_docstr: Base class for DateMatcher Annotators
      
docstr: Sets an anchor year for the relative dates such as a day after
  tomorrow. If not set it will use the current year.
  
  Example: 2021
  
  Parameters
  ----------
  value : int
      The anchor year for relative dates
docstr_tok: ["Sets","an","anchor","year","for","the","relative","dates","such","as","a","day","after","tomorrow",".","If","not","set","it","will","use","the","current","year",".","Example",":","2021","Parameters","--","--","--","--","--","value",":","int","The","anchor","year","for","relative","dates"]
code: def setAnchorDateYear(self, value):
      """Sets an anchor year for the relative dates such as a day after
      tomorrow. If not set it will use the current year.
  
      Example: 2021
  
      Parameters
      ----------
      value : int
          The anchor year for relative dates
      """
      return self._set(anchorDateYear=value)
  
file_path: spark-nlp/python/sparknlp/annotator/matcher/date_matcher.py
imports: from sparknlp.common import *
label_desc: Use image node_id 5 for calling the DateMatcherUtils obj's underlying member method code with example usage: obj.setAnchorDateYear(value) and returns: self