java.lang.Object
com.plannaplan.models.TourData
public class TourData
extends java.lang.Object
Container for Tours dates
-
Constructor Summary
Constructors
Constructor |
Description |
TourData(java.sql.Date start,
java.sql.Date end) |
construcotr for java.sql.Date
|
TourData(java.util.Date start,
java.util.Date end) |
constructor construcotr for java.util.Date
|
-
Method Summary
Modifier and Type |
Method |
Description |
java.sql.Date |
getEnd() |
tour end getter
|
java.sql.Date |
getStart() |
tour start getter
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
public TourData(java.sql.Date start,
java.sql.Date end)
construcotr for java.sql.Date
- Parameters:
start
- Date when tour start
end
- Date when tour end
-
public TourData(java.util.Date start,
java.util.Date end)
constructor construcotr for java.util.Date
- Parameters:
start
- Date when tour start
end
- Date when tour end
-
Method Details
-
public java.sql.Date getEnd()
tour end getter
- Returns:
- Date end of tour
-
public java.sql.Date getStart()
tour start getter
- Returns:
- Date beginning of tour