class Headline 
        implements Comparable<Headline> {

    private final Calendar date;
    private final String text;
    
    
    
    public Headline(final Calendar date, final String text) {
        super();
        this.date = date;
        this.text = text;
    }



    public Calendar getDate() {
        return this.date;
    }


    public String getText() {
        return this.text;
    }



    public int compareTo(final Headline o) {<FILL_FUNCTION_BODY>}
    

    
}

        if (o == null) {
            return 1;
        }
        return this.date.compareTo(o.date);
    
<no_super_class>