-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEvents.java
More file actions
48 lines (38 loc) · 1.09 KB
/
Copy pathEvents.java
File metadata and controls
48 lines (38 loc) · 1.09 KB
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
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
public class Events {
private String eventName;
private LocalDate eventDate;
private LocalTime startTime;
private LocalTime endTime;
public Events(String eventName, LocalDate eventDate, LocalTime startTime, LocalTime endTime) {
this.eventName = eventName;
this.eventDate = eventDate;
this.startTime = startTime;
this.endTime = endTime;
}
public String getEventName() {
return eventName;
}
public LocalDate getEventDate() {
return eventDate;
}
public LocalTime getStartTime() {
return startTime;
}
public LocalTime getEndTime() {
return endTime;
}
public void setEventName(String eventName) {
this.eventName = eventName;
}
public void setEventDate(LocalDate eventDate) {
this.eventDate = eventDate;
}
public void setStartTime(LocalTime startTime) {
this.startTime = startTime;
}
public void setEndTime(LocalTime endTime) {
this.endTime = endTime;
}
}