Here you can find the source of getCurrentCalendar()
public static Calendar getCurrentCalendar()
//package com.java2s; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.Locale; public class Main { public static Calendar getCurrentCalendar() { Calendar currentCal = new GregorianCalendar(Locale.JAPAN); return currentCal; }/*w w w. j ava 2s . c om*/ }