-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSchedule.java
More file actions
50 lines (38 loc) · 889 Bytes
/
Schedule.java
File metadata and controls
50 lines (38 loc) · 889 Bytes
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
import java.sql.*;
public class Schedule {
private Time[] time;
private Date firstDay;
private int duration;
private String performanceName;
public Schedule(String performanceName, Date firstDay, int duration, Time[] time)
{
this.performanceName = performanceName;
this.firstDay = firstDay;
this.time = time;
this.duration = duration;
}
public Time[] getTime() {
return time;
}
public void setTime(Time[] time) {
this.time = time;
}
public Date getFirstDay() {
return firstDay;
}
public void setFirstDay(Date firstDay) {
this.firstDay = firstDay;
}
public int getDuration() {
return duration;
}
public void setDuration(int duration) {
this.duration = duration;
}
public String getPerformanceName() {
return performanceName;
}
public void setPerformanceName(String performanceName) {
this.performanceName = performanceName;
}
}