class LinkBean extends BaseBean {

	public boolean isOnTime(Link link) {
		Date nowDate = new Date();
		Date insertDate = link.getInsertDate();
		Calendar cal = Calendar.getInstance();
		cal.setTime(insertDate);
		int dayOfInsertion = cal.get(Calendar.DAY_OF_MONTH);
		cal.set(Calendar.DAY_OF_MONTH, dayOfInsertion+1);
		return nowDate.before(cal.getTime());
	}

	public  LinkBean();
	public  LinkBean(String name);

}