Class DateMatcher
- java.lang.Object
-
- org.nuxeo.ecm.platform.suggestbox.utils.DateMatcher
-
@Deprecated public class DateMatcher extends Object
Deprecated.since 11.1 only used from deprecatedDocumentSearchByDateSuggester
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static CalendardateToInstance(int year, int month, int day)Deprecated.static DateMatcherdoFromInput(String input)Deprecated.static DateMatcherfromInput(String input)Deprecated.CalendargetDateSuggestion()Deprecated.booleanhasMatch()Deprecated.booleanisWitDay()Deprecated.booleanisWithMonth()Deprecated.booleanisWithYears()Deprecated.static MatcherparsingDate(Pattern pattern, String input)Deprecated.voidsetWitDay(boolean witDay)Deprecated.voidsetWithMonth(boolean withMonth)Deprecated.voidsetWithYears(boolean withYears)Deprecated.
-
-
-
Method Detail
-
isWithYears
public boolean isWithYears()
Deprecated.
-
setWithYears
public void setWithYears(boolean withYears)
Deprecated.
-
isWithMonth
public boolean isWithMonth()
Deprecated.
-
setWithMonth
public void setWithMonth(boolean withMonth)
Deprecated.
-
isWitDay
public boolean isWitDay()
Deprecated.
-
setWitDay
public void setWitDay(boolean witDay)
Deprecated.
-
getDateSuggestion
public Calendar getDateSuggestion()
Deprecated.
-
hasMatch
public boolean hasMatch()
Deprecated.
-
fromInput
public static DateMatcher fromInput(String input)
Deprecated.
-
doFromInput
public static DateMatcher doFromInput(String input)
Deprecated.
-
dateToInstance
protected static Calendar dateToInstance(int year, int month, int day)
Deprecated.
-
-