changed Calendar.DAY to Calendar.DAY_OF_MONTH