86 lines
1.7 KiB
Java
86 lines
1.7 KiB
Java
package com.nttdata.calender.planTimes;
|
|
|
|
/**
|
|
* The CalendarWeek class represents a week in a calendar.
|
|
* It contains information about the week, planned time, start date, and end
|
|
* date.
|
|
*/
|
|
public class CalendarWeek {
|
|
private String week;
|
|
private int planTime;
|
|
private String startDate;
|
|
private String endDate;
|
|
|
|
/**
|
|
* Gets the week.
|
|
*
|
|
* @return String representing the week
|
|
*/
|
|
public String getWeek() {
|
|
return week;
|
|
}
|
|
|
|
/**
|
|
* Sets the week.
|
|
*
|
|
* @param week String to set representing the week
|
|
*/
|
|
public void setWeek(String week) {
|
|
this.week = week;
|
|
}
|
|
|
|
/**
|
|
* Gets the planned time.
|
|
*
|
|
* @return int representing the planned time
|
|
*/
|
|
public int getPlanTime() {
|
|
return planTime;
|
|
}
|
|
|
|
/**
|
|
* Sets the planned time.
|
|
*
|
|
* @param planTime an int to set representing the planned time
|
|
*/
|
|
public void setPlanTime(int planTime) {
|
|
this.planTime = planTime;
|
|
}
|
|
|
|
/**
|
|
* Gets the start date.
|
|
*
|
|
* @return String representing the start date
|
|
*/
|
|
public String getStartDate() {
|
|
return startDate;
|
|
}
|
|
|
|
/**
|
|
* Sets the start date.
|
|
*
|
|
* @param startDate String to set representing the start date
|
|
*/
|
|
public void setStartDate(String startDate) {
|
|
this.startDate = startDate;
|
|
}
|
|
|
|
/**
|
|
* Gets the end date.
|
|
*
|
|
* @return String representing the end date
|
|
*/
|
|
public String getEndDate() {
|
|
return endDate;
|
|
}
|
|
|
|
/**
|
|
* Sets the end date.
|
|
*
|
|
* @param endDate String to set representing the end date
|
|
*/
|
|
public void setEndDate(String endDate) {
|
|
this.endDate = endDate;
|
|
}
|
|
}
|