public class DatasetTimeGenerator extends DatasetGenerator
datasetType, includeTotal| Constructor and Description |
|---|
DatasetTimeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getActualEndDate() |
Date |
getActualStartDate() |
String |
getDateType() |
String |
getEndDate() |
String |
getStartDate() |
String |
getType() |
void |
setActualEndDate(Date actualEndDate) |
void |
setActualStartDate(Date actualStartDate) |
void |
setDateInterval(String dateType,
Date start,
Date end) |
void |
setDateInterval(String dateType,
String start,
String end)
Sets the date interval.
|
void |
setDateType(String dateType) |
void |
setEndDate(String endDate) |
void |
setStartDate(String startDate) |
void |
setType(String type) |
getDatasetType, isIncludeTotal, setDatasetType, setIncludeTotalpublic void setDateInterval(String dateType, String start, String end)
dateType - type can be days, months, yearsstart - the start of the intervalend - the end of the intervalpublic void setDateInterval(String dateType, Date start, Date end) throws IllegalArgumentException
IllegalArgumentExceptionpublic String getStartDate()
public void setStartDate(String startDate)
public String getEndDate()
public void setEndDate(String endDate)
public String getDateType()
public Date getActualStartDate()
public void setActualStartDate(Date actualStartDate)
public Date getActualEndDate()
public void setActualEndDate(Date actualEndDate)
public void setDateType(String dateType)
public String getType()
public void setType(String type)
Copyright © 2014 DuraSpace. All Rights Reserved.