public class CommonSelects extends Object
Build-in: * Months (january ... december) * Days (1..31) * Years (start ... end) * Gender
RFE: Add Days (monday...sunday),
| Modifier and Type | Method and Description |
|---|---|
static CommonSelects |
build() |
List<SelectType.SelectInputEntry> |
buildDays() |
List<SelectType.SelectInputEntry> |
buildMonths() |
List<SelectType.SelectInputEntry> |
getGenderSelect() |
List<SelectType.SelectInputEntry> |
getYears(int startYear,
int endYear)
will always return a list of years from startYear to endYear.
|
public static CommonSelects build()
public List<SelectType.SelectInputEntry> buildDays()
public List<SelectType.SelectInputEntry> buildMonths()
public List<SelectType.SelectInputEntry> getYears(int startYear, int endYear)
startYear - first year in selectendYear - last year in selectpublic List<SelectType.SelectInputEntry> getGenderSelect()
Copyright © 2019. All rights reserved.