public class NewYearDateFilter extends AbstractNewYearDateFilter
Constructor and Description |
---|
NewYearDateFilter() |
Modifier and Type | Method and Description |
---|---|
protected Calendar |
getCalendar() |
protected int |
getMonth(String localizedMonth)
Implement so that January returns
1 , February 2 etc. |
acceptRuleMatch, getCurrentYear, getDayOfMonth, isJanuary
getOptional, getOptional, getPosition, getRequired, isMatchAtSentenceStart, matches
protected int getMonth(String localizedMonth)
AbstractNewYearDateFilter
1
, February 2
etc.getMonth
in class AbstractNewYearDateFilter
localizedMonth
- name of a month or abbreviation thereofprotected Calendar getCalendar()
getCalendar
in class AbstractNewYearDateFilter