⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 forecast.java

📁 yahoo 所使用的 天气预报的解析代码
💻 JAVA
字号:
/*
 * Forcecast.java
 *
 * Created on May 25, 2007, 5:08 PM
 *
 */

package yweatherbeta;

/**
 *
 * @author BEN
 */
public class Forecast {
    private String day;
    private String date;
    private int tempLow;
    private int tempHigh;
    private String condition;
    private int code;
    /** Creates a new instance of Forcecast */
    public Forecast() {
    }
    
    public String getDay() {
        return day;
    }
    
    void setDay(String day) {
        this.day = day;
    }
    
    public String getDate() {
        return date;
    }
    
    void setDate(String date) {
        this.date = date;
    }
    
    public int getTempLow() {
        return tempLow;
    }
    
    void setTempLow(int tempLow) {
        this.tempLow = tempLow;
    }
    
    public int getTempHigh() {
        return tempHigh;
    }
    
    void setTempHigh(int tempHigh) {
        this.tempHigh = tempHigh;
    }
    
    public String getCondition() {
        return condition;
    }
    
    void setCondition(String condition) {
        this.condition = condition;
    }
    
    public int getCode() {
        return code;
    }
    
    void setCode(int code) {
        this.code = code;
    }
    
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -