Android Open Source - rex-weather Current Weather






From Project

Back to project page rex-weather.

License

The source code is released under:

Copyright (c) 2014, Vy-Shane Sin Fat All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met...

If you think the Android project rex-weather listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package mu.node.rexweather.app.Models;
/*w  ww  .  j  av a  2s.co m*/
public class CurrentWeather extends WeatherForecast {
    private final float mTemperature;  // Current temperature.

    public CurrentWeather(final String locationName,
                          final long timestamp,
                          final String description,
                          final float temperature,
                          final float minimumTemperature,
                          final float maximumTemperature) {

        super(locationName, timestamp, description, minimumTemperature, maximumTemperature);
        mTemperature = temperature;
    }

    public float getTemperature() {
        return mTemperature;
    }
}




Java Source Code List

mu.node.rexweather.app.WeatherActivity.java
mu.node.rexweather.app.Helpers.DayFormatter.java
mu.node.rexweather.app.Helpers.TemperatureFormatter.java
mu.node.rexweather.app.Models.CurrentWeather.java
mu.node.rexweather.app.Models.WeatherForecast.java
mu.node.rexweather.app.Services.LocationService.java
mu.node.rexweather.app.Services.WeatherService.java