ChinaDate.java 2.23 KB
Newer Older
ilal committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
package cn.timer.api.controller.kqgl.holiday;

import java.util.Date;

public class ChinaDate {
	/**
	 * 公历时间
	 */
	private Date solarDate;
	/**
	 * 农历日
	 */
	private String lunar;
	/**
	 * 公历日
	 */
	private String solar;
	/**
	 * 是否是 休
	 */
	private boolean isVacation = false;
	/**
	 * 如果是 休情况下的假期名字
	 */
	private String VacationName = "非假期";
	/**
	 * 是否是 班
	 */
	private boolean isWorkFlag = false;
	private boolean isSaturday = false;
	private boolean isSunday = false;

	/**
	 * @return the solarDate
	 */
	public Date getSolarDate() {
		return solarDate;
	}

	/**
	 * @param solarDate the solarDate to set
	 */
	public void setSolarDate(Date solarDate) {
		this.solarDate = solarDate;
	}

	/**
	 * @return the lunar
	 */
	public String getLunar() {
		return lunar;
	}

	/**
	 * @param lunar the lunar to set
	 */
	public void setLunar(String lunar) {
		this.lunar = lunar;
	}

	/**
	 * @return the solar
	 */
	public String getSolar() {
		return solar;
	}

	/**
	 * @param solar the solar to set
	 */
	public void setSolar(String solar) {
		this.solar = solar;
	}

	/**
	 * @return the isVacation
	 */
	public boolean isVacation() {
		return isVacation;
	}

	/**
	 * @param isVacation the isVacation to set
	 */
	public void setVacation(boolean isVacation) {
		this.isVacation = isVacation;
	}

	/**
	 * @return the vacationName
	 */
	public String getVacationName() {
		return VacationName;
	}

	/**
	 * @param vacationName the vacationName to set
	 */
	public void setVacationName(String vacationName) {
		VacationName = vacationName;
	}

	/**
	 * @return the isWorkFlag
	 */
	public boolean isWorkFlag() {
		return isWorkFlag;
	}

	/**
	 * @param isWorkFlag the isWorkFlag to set
	 */
	public void setWorkFlag(boolean isWorkFlag) {
		this.isWorkFlag = isWorkFlag;
	}

	/**
	 * @return the isSaturday
	 */
	public boolean isSaturday() {
		return isSaturday;
	}

	/**
	 * @param isSaturday the isSaturday to set
	 */
	public void setSaturday(boolean isSaturday) {
		this.isSaturday = isSaturday;
	}

	/**
	 * @return the isSunday
	 */
	public boolean isSunday() {
		return isSunday;
	}

	/**
	 * @param isSunday the isSunday to set
	 */
	public void setSunday(boolean isSunday) {
		this.isSunday = isSunday;
	}
}