Added required parameters to config
This commit is contained in:
1 parent
b1091cd3bc
commit
7c0c22e790
3 files changed
+148
-6
No files matched your search
@@ -1,6 +1,6 @@
|
||||
package com.plannaplan.models;
|
||||
|
||||
import java.util.Date;
|
||||
import java.sql.Date;
|
||||
|
||||
public class TourData {
|
||||
|
||||
@@ -8,7 +8,7 @@ public class TourData {
|
||||
private Date end;
|
||||
|
||||
/**
|
||||
* construcotr
|
||||
* construcotr for java.sql.Date
|
||||
*
|
||||
* @param start Date when tour start
|
||||
* @param end Date when tour end
|
||||
@@ -18,6 +18,17 @@ public class TourData {
|
||||
this.end = end;
|
||||
}
|
||||
|
||||
/**
|
||||
* constructor construcotr for java.util.Date
|
||||
*
|
||||
* @param start Date when tour start
|
||||
* @param end Date when tour end
|
||||
*/
|
||||
public TourData(java.util.Date start, java.util.Date end) {
|
||||
this.start = new Date(start.getTime());
|
||||
this.end = new Date(end.getTime());
|
||||
}
|
||||
|
||||
/**
|
||||
* tour end getter
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user