public class BirthDateAnswerFormat extends DateAnswerFormat
AnswerFormat.ChoiceAnswerStyle, AnswerFormat.DateAnswerStyle, AnswerFormat.NumberFormattingStyle, AnswerFormat.QuestionType, AnswerFormat.Type
Constructor and Description |
---|
BirthDateAnswerFormat(java.util.Date defaultDate,
int minAge,
int maxAge) |
Modifier and Type | Method and Description |
---|---|
BodyAnswer |
validateAnswer(java.util.Date resultDate) |
getDefaultDate, getMaximumDate, getMinimumDate, getQuestionType, getStyle
public BirthDateAnswerFormat(java.util.Date defaultDate, int minAge, int maxAge)
public BodyAnswer validateAnswer(java.util.Date resultDate)
validateAnswer
in class DateAnswerFormat