prj03-group06/src/weather/WeatherController.java
private String dataToString(int temp, int humid, int pressure, int windspd, int winddir, int rain,
			Date date) {
		StringBuilder sb = new StringBuilder();
		sb.append(date + ", ");
		sb.append(temp + ", ");
		sb.append(humid + ", ");
		sb.append(pressure + ", ");
		sb.append(windspd + ", ");
		sb.append(winddir + ", ");
		sb.append(rain);
		return sb.toString();
	}
/**
	 * Formats the live weather data into a String.
	 * 
	 * @param temp the temperature
	 * @param humid the humidity
	 * @param pressure the pressure
	 * @param windspd the wind speed
	 * @param winddir the wind direction
	 * @param moon the moon phase
	 * @param rain the rainfall amount
	 * @param date the current date
	 * @return a string representing the live weather data
	 */
Formats the live weather data into a String.


Formats the live weather data into a String .
private String dataToString(int temp, int humid, int pressure, int windspd, int winddir, int rain,
			Date date) {
		StringBuilder sb = new StringBuilder();
		sb.append(date + ", ");
		sb.append(temp + ", ");
		sb.append(humid + ", ");
		sb.append(pressure + ", ");
		sb.append(windspd + ", ");
		sb.append(winddir + ", ");
		sb.append(rain);
		return sb.toString();
	}
private String dataToString ( int temp , int humid , int pressure , int windspd , int winddir , int rain , Date date ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( date + ", " ) ; sb . append ( temp + ", " ) ; sb . append ( humid + ", " ) ; sb . append ( pressure + ", " ) ; sb . append ( windspd + ", " ) ; sb . append ( winddir + ", " ) ; sb . append ( rain ) ; return sb . toString ( ) ; }
Formats the live weather data into a String.
Formats the live weather data into a String .