public Date getBehaviorFirstHappenTime(List<Behavior> behaviors, Long topicId, Consts.ActionType actionType, Consts.TopicType topoicType) {
		Calendar myDate = Calendar.getInstance();
		myDate.set(Calendar.MONTH, 10);
		myDate.set(Calendar.DAY_OF_MONTH, 1);
		Date beginDate = myDate.getTime();
		
		for (int i = 0; i < behaviors.size(); i++) {
			if (behaviors.get(i).getType() == actionType && behaviors.get(i).getVisitDatetime().before(beginDate)) {
				if ((topoicType == Consts.TopicType.BRAND && behaviors.get(i).getBrandID() == topicId)
						|| (topoicType == Consts.TopicType.USER && behaviors.get(i).getUid() == topicId)) {
					beginDate = behaviors.get(i).getVisitDatetime();
				}
			}
		}
		return beginDate;
	}