var myUtil = {
	setDate_is_act: function(year, startDate, num,qdlist) {
		var date = getDate(year + '-' + startDate);
		date.setDate(date.getDate() + num);
		date = getDate(date).getDate();
		if(date<10) date="0"+date;
		if(!qdlist) return false;
		if(qdlist.indexOf(date)!=-1){
			return true
		}
		return false;
	},
	
	setDate:function(year, startDate, num){
		var date = getDate(year + '-' + startDate);
		date.setDate(date.getDate() + num);
		date = getDate(date).getDate();
		return date; 
	}
};

module.exports = {
	setDate: myUtil.setDate,
	setDate_is_act: myUtil.setDate_is_act,
};