@Override
	public String toString() {
		String dateToString = "";
		String dateFromString = "";
		if (mFromDateTime != null) {
			dateFromString = MyTasksParser.dateTimeFormats.get(0).format(
					mFromDateTime);
		}
		if (dateFromString.contains("00:00")) {
			dateFromString = MyTasksParser.dateFormats.get(0).format(
					mFromDateTime);
		}
		if (mToDateTime != null) {
			dateToString = MyTasksParser.dateTimeFormats.get(0).format(mToDateTime);
		}
		if (dateToString.contains("00:00")) {
			dateToString = MyTasksParser.dateFormats.get(0).format(mToDateTime);
		}

		String labelsToString = "";
		if (mLabels != null) {
			for (String s : mLabels) {
				labelsToString += " " + "#" + s;
			}
		}
		String result = "";
		if (dateFromString.equals("")) {
			result = String.format("%s%s ", mDescription, labelsToString);
		} else if (dateToString.equals("")) {
			result = String.format("%s on %s%s", mDescription, dateFromString,
					labelsToString);
		} else {
			result = String.format("%s from %s to %s%s", mDescription,
					dateFromString, dateToString, labelsToString);
		}
		return result.trim();
	}