Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSchedule.java
More file actions
Latest commit
50 lines (38 loc) · 889 Bytes
/
Copy pathSchedule.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
importjava.sql.*;
publicclassSchedule {
privateTime[] time;
privateDatefirstDay;
privateintduration;
privateStringperformanceName;
publicSchedule(StringperformanceName, DatefirstDay, intduration, Time[] time)
{
this.performanceName = performanceName;
this.firstDay = firstDay;
this.time = time;
this.duration = duration;
}
publicTime[] getTime() {
returntime;
}
publicvoidsetTime(Time[] time) {
this.time = time;
}
publicDategetFirstDay() {
returnfirstDay;
}
publicvoidsetFirstDay(DatefirstDay) {
this.firstDay = firstDay;
}
publicintgetDuration() {
returnduration;
}
publicvoidsetDuration(intduration) {
this.duration = duration;
}
publicStringgetPerformanceName() {
returnperformanceName;
}
publicvoidsetPerformanceName(StringperformanceName) {
this.performanceName = performanceName;
}
}