public static class

WeatherInfo.DayForecast

extends Object
implements Parcelable
java.lang.Object
   ↳ lineageos.weather.WeatherInfo.DayForecast

Class Overview

This class represents the weather forecast for a given day. Do not add low and high temperatures for the current day in this list. Use setTodaysHigh(double) and setTodaysLow(double) instead.

Summary

Nested Classes
class WeatherInfo.DayForecast.Builder Builder class for WeatherInfo.DayForecast  
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<WeatherInfo.DayForecast> CREATOR
Public Methods
int describeContents()
boolean equals(Object obj)
int getConditionCode()
double getHigh()
double getLow()
int hashCode()
String toString()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<WeatherInfo.DayForecast> CREATOR

added in API level 5

Public Methods

public int describeContents ()

added in API level 5

Returns
int

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public int getConditionCode ()

added in API level 5

Returns
int forecasted weather condition code. Implementation specific

public double getHigh ()

added in API level 5

Returns
double not what you think. Returns the forecasted high temperature

public double getLow ()

added in API level 5

Returns
double forecasted low temperature

public int hashCode ()

Returns
int

public String toString ()

Returns
String

public void writeToParcel (Parcel dest, int flags)

added in API level 5

Parameters
dest Parcel
flags int