protected int getHijriDaysBeforeMonth(int year, int month){
		int Mc = ( year -1) *12 + 1 + CONTS_A;
		int McM = Mc * CONTS_P;
		int sum = 0;
		for (int i = 1; i < month; i++) {
			if ((McM % CONTS_Q)  < CONTS_P)
				sum+=30;
			else
				sum+=29;
			McM+=CONTS_P;
		}
		return sum;
	}