andreluizreis
10/18/2017 - 7:49 PM

Get Year as Integer

// From: https://stackoverflow.com/questions/41356279/how-to-get-current-year-in-android

Calendar.getInstance().get(Calendar.YEAR);