Here you can find the source of getCurrentYearAsInt()
static int getCurrentYearAsInt()
//package com.java2s; import java.util.*; public class Main { static int CURRENT_YEAR_AS_INT = Calendar.getInstance().get(Calendar.YEAR); static int getCurrentYearAsInt() { return CURRENT_YEAR_AS_INT; }/*from w ww . java 2s . c o m*/ }