Android Utililty Methods Month Offset Get

List of utility methods to do Month Offset Get

Description

The list of methods to do Month Offset Get are organized into topic(s).

Method

booleanhasMonthPassed(int year, int month)
has Month Passed
Calendar now = Clock.getCalendarInstance();
return hasYearPassed(year)
        || normalizeYear(year) == now.get(Calendar.YEAR)
        && month < (now.get(Calendar.MONTH) + 1);