public class DateMatcher extends Object
Modifier and Type | Method and Description |
---|---|
protected static Calendar |
dateToInstance(int year,
int month,
int day) |
static DateMatcher |
doFromInput(String input) |
static DateMatcher |
fromInput(String input) |
Calendar |
getDateSuggestion() |
boolean |
hasMatch() |
boolean |
isWitDay() |
boolean |
isWithMonth() |
boolean |
isWithYears() |
static Matcher |
parsingDate(Pattern pattern,
String input) |
void |
setWitDay(boolean witDay) |
void |
setWithMonth(boolean withMonth) |
void |
setWithYears(boolean withYears) |
public boolean isWithYears()
public void setWithYears(boolean withYears)
public boolean isWithMonth()
public void setWithMonth(boolean withMonth)
public boolean isWitDay()
public void setWitDay(boolean witDay)
public Calendar getDateSuggestion()
public boolean hasMatch()
public static Matcher parsingDate(Pattern pattern, String input)
public static DateMatcher fromInput(String input)
public static DateMatcher doFromInput(String input)
protected static Calendar dateToInstance(int year, int month, int day)
Copyright © 2015 Nuxeo SA. All rights reserved.