📄 dayaccount.java
字号:
/**
* @author tiantian
*
* Jun 12, 2008 4:46:27 PM
*/
package netctoss.jdbc.entities;
import java.io.Serializable;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
*
*/
public class DayAccount implements Serializable{
private Date logouttime; //退出时间
private String labip; //实验室ip
private double duration; //登录时长
private String day ;
public DayAccount(){
}
public String getDay() {
return day;
}
public void setDay(Date logouttime) {
DateFormat df = new SimpleDateFormat("dd");
String day = df.format(logouttime);
this.day = day;
}
public Date getLogouttime() {
return logouttime;
}
public void setLogouttime(Date logouttime) {
this.logouttime = logouttime;
}
public String getLabip() {
return labip;
}
public void setLabip(String labip) {
this.labip = labip;
}
public double getDuration() {
return duration;
}
public void setDuration(double duration) {
this.duration = duration;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -