public String preSendShippingDate(int postalCode, int arrivalDate, String string) {
		int[] shippingDate = new int[6];
		shippingDate[0] = arrivalDate / 10000;//amYear
		shippingDate[1] = arrivalDate % 10000 / 100;//amMonth
		shippingDate[2] = arrivalDate % 100;//amDay
		shippingDate[3] = arrivalDate / 10000;//pmYear
		shippingDate[4] = arrivalDate % 10000 / 100;//pmMonth
		shippingDate[5] = arrivalDate % 100;//pmDay
		StringBuilder sb = new StringBuilder();

		if (postalCode < 8) {
			if (string.equals("午前")) {//郵便番号１〜７、午前のとき
				shippingDate[2] -= 1;
				shippingDate[5] -= 2;
			} else {//郵便番号１〜７、午後、夕方のとき
				shippingDate[2] -= 1;
				shippingDate[5] -= 1;
			}
			if(shippingDate[2] < 1)//到着日が1日のときに発送日は前の月になる
				shippingDate = convertPrevAmMonthDay(shippingDate);
			if(shippingDate[5] < 1)
				shippingDate = convertPrevPmMonthDay(shippingDate);
		} else if (postalCode == 8) {
			if (string.equals("午前")) {//郵便番号８、午前のとき
				shippingDate[2] -= 2;
				shippingDate[5] -= 3;
			} else if (string == "午後") {//郵便番号８、午後のとき
				shippingDate[2] -= 2;
				shippingDate[5] -= 2;
			} else {//郵便番号８、夕方のとき
				shippingDate[2] -= 1;
				shippingDate[5] -= 2;
			}
			if(shippingDate[2] < 1)//到着日が1日のときに発送日は前の月になる
				shippingDate = convertPrevAmMonthDay(shippingDate);
			if(shippingDate[5] < 1)
				shippingDate = convertPrevPmMonthDay(shippingDate);
		} else {//郵便番号9のとき
			sb.append("配送不可");
			return sb.toString();
		}

		sb.append(shippingDate[0] + "年"+ shippingDate[1]  + "月"+ shippingDate[2] + "日"+ "午前" + "、");
		sb.append(shippingDate[3] + "年"+ shippingDate[4]  + "月"+ shippingDate[5] + "日"+ "午後");
		return sb.toString();
	}