OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
137 ilm 1
package org.jopencalendar.ui;
2
 
3
import java.util.Calendar;
4
 
5
import javax.swing.JLabel;
6
 
7
public class DateLabel extends JLabel {
8
    private static final long serialVersionUID = -5010955735639970080L;
9
    private long time;
10
 
11
    public DateLabel(String label, int align) {
12
        super(label, align);
13
    }
14
 
15
    public void setDate(Calendar cal) {
16
        this.time = cal.getTimeInMillis();
17
    }
18
 
19
    public long getTimeInMillis() {
20
        return time;
21
    }
22
}