updated Calendar.java class