private static int computeFreqHelper(int freq, long startTime) {
		switch (freq)
		{
		case Frequency.ONCE:
			return 0;
		case Frequency.DAILY:
			return 0;
		case Frequency.WEEKLY:
			Date startD = new Date(startTime);
			return startD.getDay();
		case Frequency.MONTHLY:
			startD = new Date(startTime);
			return startD.getDate();
		}
		return 0;
	}