Code example for Attributes

Methods: getLength, getValue

0
			Attributes attributes) {
		inElement = true;
		currentElement = localName;
 
		if (currentElement.equals("day")) {
			if (attributes.getLength() == 1) {
				weekDay = attributes.getValue(0);
			} 
		} 
 
	} 
 
	/** 
	 * Return a Time object which hopefully is equal to what is specified by 
	 * parameters. Format assumptions: date: DD.MM.YYYY 
	 *  
	 * TODO parse if only date or time is given 
	 *  
	 * @param date 
	 * @param time 
	 * @return