Back to project page UK-Weather-repo.
The source code is released under:
Apache License
If you think the Android project UK-Weather-repo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.haringeymobile.ukweather.data.objects; /*from ww w . java 2s.c o m*/ import com.google.gson.annotations.SerializedName; public class NumericParameters { @SerializedName("humidity") private double humidity; @SerializedName("pressure") private double pressure; @SerializedName("temp") private double temperature; @SerializedName("temp_max") private double maxTemperature; @SerializedName("temp_min") private double minTemperature; public double getHumidity() { return humidity; } public double getPressure() { return pressure; } public double getTemperature(TemperatureScale temperatureScale) { return temperatureScale.convertTemperature(temperature); } }