public static class DateInputSelectCompound.YearRange extends Object
| Constructor and Description |
|---|
YearRange(int start,
int end)
A range of year.
|
| Modifier and Type | Method and Description |
|---|---|
static DateInputSelectCompound.YearRange |
aroundNow(int offset)
year around now.
|
static DateInputSelectCompound.YearRange |
birthday()
typical Birthday - : 110years in the past - today
|
static DateInputSelectCompound.YearRange |
currentYear()
Just the current year
|
static DateInputSelectCompound.YearRange |
future(int numberOfYears)
Years from now in the future.
|
static DateInputSelectCompound.YearRange |
past(int numberOfYears)
Years in the past from today
|
public YearRange(int start,
int end)
start - The smaller value!end - The bigger value!public static DateInputSelectCompound.YearRange aroundNow(int offset)
offset - public static DateInputSelectCompound.YearRange past(int numberOfYears)
numberOfYears - public static DateInputSelectCompound.YearRange currentYear()
public static DateInputSelectCompound.YearRange future(int numberOfYears)
numberOfYears - public static DateInputSelectCompound.YearRange birthday()
Copyright © 2017. All rights reserved.