Subversion Repositories SmartDukaan

Rev

Rev 25489 | Rev 28596 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25489 Rev 25634
Line 4... Line 4...
4
 
4
 
5
public class DateRangeModel {
5
public class DateRangeModel {
6
	LocalDateTime startDate;
6
	LocalDateTime startDate;
7
	LocalDateTime endDate;
7
	LocalDateTime endDate;
8
 
8
 
-
 
9
	public static DateRangeModel of(LocalDateTime startDate, LocalDateTime endDate) {
-
 
10
		DateRangeModel drm = new DateRangeModel();
-
 
11
		drm.setEndDate(endDate);
-
 
12
		drm.setStartDate(startDate);
-
 
13
		return drm;
-
 
14
	}
9
	public LocalDateTime getStartDate() {
15
	public LocalDateTime getStartDate() {
10
		return startDate;
16
		return startDate;
11
	}
17
	}
12
 
18
 
13
	public void setStartDate(LocalDateTime startDate) {
19
	public void setStartDate(LocalDateTime startDate) {