Subversion Repositories SmartDukaan

Rev

Rev 25489 | Rev 28596 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25489 tejbeer 1
package com.spice.profitmandi.dao.model;
2
 
3
import java.time.LocalDateTime;
4
 
5
public class DateRangeModel {
6
	LocalDateTime startDate;
7
	LocalDateTime endDate;
8
 
25634 amit.gupta 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
	}
25489 tejbeer 15
	public LocalDateTime getStartDate() {
16
		return startDate;
17
	}
18
 
19
	public void setStartDate(LocalDateTime startDate) {
20
		this.startDate = startDate;
21
	}
22
 
23
	public LocalDateTime getEndDate() {
24
		return endDate;
25
	}
26
 
27
	public void setEndDate(LocalDateTime endDate) {
28
		this.endDate = endDate;
29
	}
30
 
31
}