result = form.format(h) + ":" + form.format(m);
result = form.format(h) + ":" + form.format(m) + ":" + form.format(s);
	private String toHHMM_String(Calendar d) {		String result = null;		int h = d.get(Calendar.HOUR_OF_DAY);		int m = d.get(Calendar.MINUTE);		try {			result = form.format(h) + ":" + form.format(m);		} catch (IllegalArgumentException iae) {			JOptionPane.showMessageDialog(this,				"Formatting Error!" + iae,	// message				"Formatting Error!",					// titlebar				JOptionPane.ERROR_MESSAGE);	// icon		}		return result;	}