Class NewYearDateFilter

  • Direct Known Subclasses:
    YMDNewYearDateFilter

    public class NewYearDateFilter
    extends org.languagetool.rules.AbstractNewYearDateFilter
    Since:
    4.3
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.Calendar getCalendar()  
      protected int getMonth​(java.lang.String localizedMonth)  
      • Methods inherited from class org.languagetool.rules.AbstractNewYearDateFilter

        acceptRuleMatch, getCurrentYear, getDayOfMonth, isJanuary
      • Methods inherited from class org.languagetool.rules.patterns.RuleFilter

        getRequired, matches
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NewYearDateFilter

        public NewYearDateFilter()
    • Method Detail

      • getMonth

        protected int getMonth​(java.lang.String localizedMonth)
        Specified by:
        getMonth in class org.languagetool.rules.AbstractNewYearDateFilter
      • getCalendar

        protected java.util.Calendar getCalendar()
        Specified by:
        getCalendar in class org.languagetool.rules.AbstractNewYearDateFilter