Professional Documents
Culture Documents
Seq Periods
Seq Periods
misc;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.SortedSet;
import java.util.TreeSet;
/**
* @date 10 Mar, 2011
* @author rohitmp
*/
public class SeqPeriods {
if(startDt != null){
startDtNoOfDaysSinceEpoch = getNoOfDaysSinceJavaEpoch(startDt);
setOfCals.add(startDt);
} else {
throw new IllegalArgumentException("The date cannot be null");
}
if(endDt != null){
endDtNoOfDaysSinceEpoch = getNoOfDaysSinceJavaEpoch(endDt);
setOfCals.add(endDt);
} else {
throw new IllegalArgumentException("The date cannot be null");
}