private int resolveDayUnit( String unit ) {
		if ( unit.equalsIgnoreCase("monday") ) {
			return TimeAxisUnit.MONDAY;
		}
		else if ( unit.equalsIgnoreCase("tuesday") ) {
			return TimeAxisUnit.TUESDAY;
		}
		else if ( unit.equalsIgnoreCase("wednesday") ) {
			return TimeAxisUnit.WEDNESDAY;
		}
		else if ( unit.equalsIgnoreCase("thursday") ) {
			return TimeAxisUnit.THURSDAY;
		}
		else if ( unit.equalsIgnoreCase("friday") ) {
			return TimeAxisUnit.FRIDAY;
		}
		else if ( unit.equalsIgnoreCase("saturday") ) {
			return TimeAxisUnit.SATURDAY;
		}
		else if ( unit.equalsIgnoreCase("sunday") ) {
			return TimeAxisUnit.SUNDAY;
		}
		else {
			throw new IllegalArgumentException( "Invalid day unit specified: " + unit );
		}

	}