protected void gregorianToHijri(Calendar calendar){
		absoluteToHijri(gregorianToAbsolute(calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH)+1, calendar.get(Calendar.DAY_OF_MONTH)));
		//Set time
		for (int i = AM_PM; i < FIELD_COUNT; i++) {
			fields[i] = calendar.get(i);
		}
	}