代码拉取完成,页面将自动刷新
/**
A class has a title, time and room
*/
public class ClassSchedule
{
private String title;
private String days;
private String startTime;
private String endTime;
private String room;
/**
Constructs a class with title, day, time and room.
*/
public ClassSchedule(String classTitle, String meetingDays, String aStartTime, String aEndTime, String classRoom)
{
title = classTitle;
days = meetingDays;
startTime = aStartTime;
endTime = aEndTime;
room = classRoom;
}
/**
Gets the title.
@return the title
*/
public String getTitle()
{
return title;
}
/**
Gets the time in the form "days start time-end time"
@return the time
*/
public String getTime()
{
String time = days + " " + startTime + "-" + endTime;
return time;
}
/**
Gets the room.
@return the room
*/
public String getRoom()
{
return room;
}
/**
Sets the days.
@param meetingDays the new meeting days
*/
public void setDays(String meetingDays)
{
days = meetingDays;
}
/**
Sets the start time.
@param aStartTime the new start time
*/
public void setStartTime(String aStartTime)
{
startTime = aStartTime;
}
/**
Sets the end time.
@param anEndTime the new end time
*/
public void setEndTime(String aEndTime)
{
endTime = aEndTime;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。