📄 quaterdateofyear.java
字号:
package com.pegasus.framework.bo;
import java.io.Serializable;
import java.sql.Date;
import com.pegasus.framework.util.DateUtils;
/**
* 记录每个季度的第一天和最后一天
* @author Administrator
*
*/
public class QuaterDateOfYear implements Serializable {
private Date q1FirstDay = null;
private Date q1EndDay = null;
private Date q2FirstDay = null;
private Date q2EndDay = null;
private Date q3FirstDay = null;
private Date q3EndDay = null;
private Date q4FirstDay = null;
private Date q4EndDay = null;
public String toString() {
String result = "";
result += DateUtils.format(q1FirstDay) + "\n";
result += DateUtils.format(q1EndDay)+ "\n";
result += DateUtils.format(q2FirstDay)+ "\n";
result += DateUtils.format(q2EndDay)+ "\n";
result += DateUtils.format(q3FirstDay)+ "\n";
result += DateUtils.format(q3EndDay)+ "\n";
result += DateUtils.format(q4FirstDay)+ "\n";
result += DateUtils.format(q4EndDay)+ "\n";
return result;
}
/**
* @return Returns the q1EndDay.
*/
public Date getQ1EndDay() {
return q1EndDay;
}
/**
* @param endDay The q1EndDay to set.
*/
public void setQ1EndDay(Date endDay) {
q1EndDay = endDay;
}
/**
* @return Returns the q1FirstDay.
*/
public Date getQ1FirstDay() {
return q1FirstDay;
}
/**
* @param firstDay The q1FirstDay to set.
*/
public void setQ1FirstDay(Date firstDay) {
q1FirstDay = firstDay;
}
/**
* @return Returns the q2EndDay.
*/
public Date getQ2EndDay() {
return q2EndDay;
}
/**
* @param endDay The q2EndDay to set.
*/
public void setQ2EndDay(Date endDay) {
q2EndDay = endDay;
}
/**
* @return Returns the q2FirstDay.
*/
public Date getQ2FirstDay() {
return q2FirstDay;
}
/**
* @param firstDay The q2FirstDay to set.
*/
public void setQ2FirstDay(Date firstDay) {
q2FirstDay = firstDay;
}
/**
* @return Returns the q3EndDay.
*/
public Date getQ3EndDay() {
return q3EndDay;
}
/**
* @param endDay The q3EndDay to set.
*/
public void setQ3EndDay(Date endDay) {
q3EndDay = endDay;
}
/**
* @return Returns the q3FirstDay.
*/
public Date getQ3FirstDay() {
return q3FirstDay;
}
/**
* @param firstDay The q3FirstDay to set.
*/
public void setQ3FirstDay(Date firstDay) {
q3FirstDay = firstDay;
}
/**
* @return Returns the q4EndDay.
*/
public Date getQ4EndDay() {
return q4EndDay;
}
/**
* @param endDay The q4EndDay to set.
*/
public void setQ4EndDay(Date endDay) {
q4EndDay = endDay;
}
/**
* @return Returns the q4FirstDay.
*/
public Date getQ4FirstDay() {
return q4FirstDay;
}
/**
* @param firstDay The q4FirstDay to set.
*/
public void setQ4FirstDay(Date firstDay) {
q4FirstDay = firstDay;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -