public class DatePickerUtil extends Object
DatePicker| Constructor and Description |
|---|
DatePickerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getMonthDays(int year,
int month)
Returns the number of days for a month at specific year
|
static int |
getValidMonthDate(int year,
int month,
int date)
Returns a valid day of month
|
public static int getValidMonthDate(int year,
int month,
int date)
year - the year of the monthmonth - the monthdate - the current datepublic static int getMonthDays(int year,
int month)
year - the yearmonth - the monthCopyright © 2019–2022 Dominokit. All rights reserved.