public Calendar getMaxDueDate()
	{
		Calendar result = Calendar.getInstance();
		Calendar max = null;
		Calendar toCheck;
		if (tasks != null && tasks.size() > 0)
		{
			for (Task t : tasks)
			{
				toCheck = t.getDueDate();
				if (max == null || toCheck.compareTo(max) > 0)
				{
					max = toCheck;
				}
			}
			result.set(Calendar.YEAR, max.get(Calendar.YEAR));
			result.set(Calendar.MONTH, max.get(Calendar.MONTH));
			result.set(Calendar.DAY_OF_MONTH, max.get(Calendar.DAY_OF_MONTH));
		}
		return result;
	}