private static boolean isConflictWithVenue(long startTime, long endTime,
			int frequency, long lastDay, long venueId, long exceptApptId,
			IsLegalExplain explain) {
		try
		{
			List<Appointment> aAppt = Appointment.findByVenue(venueId);
			for (Appointment iAppt : aAppt)
			{
				if (iAppt.id == exceptApptId)
					continue;
				if (iAppt
						.isConflictWith(startTime, endTime, frequency, lastDay))
				{
					if (explain != null)
					{
						explain.explain =
								"this appointment is conflict with appointment "
										+ iAppt.name + " in location";
					}
					return true;
				}
			}
			return false;
		} catch (Exception e)
		{
			e.printStackTrace();
			return false;
		}
	}