Ask God to analyze and find the real answer

Why are some functions of java.util.Date  
deprecated and some not? (emphasis is to seek the real analytical answer)
    @Deprecated
    public Date(int year, int month, int date) {
        this(year, month, date, 0, 0, 0);
    }
    @Deprecated
    public int getDate() {
        return normalize ().getDayOfMonth();
    }
    public long getTime() {
        return getTimeImpl();
    }

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326512313&siteId=291194637