Package hec.data
Class TimeWindow
java.lang.Object
hec.data.TimeWindow
-
Constructor Summary
ConstructorsConstructorDescriptionTimeWindow(Date startDate, boolean startInclusive, Date endDate, boolean endInclusive) TimeWindow(Date startDate, boolean startInclusive, Date endDate, boolean endInclusive, boolean overrideProtection) -
Method Summary
Modifier and TypeMethodDescriptionbuildDateListForInterval(Interval interval, IntervalOffset offset, TimeZone tz) booleancontains(TimeWindow timeWindow) booleanbooleanbooleanbooleanbooleanisStartDate(Date date) booleanvoidsetEndDate(Date endDate) voidsetEndInclusive(boolean tf) voidsetStartDate(Date startDate) voidsetStartInclusive(boolean tf)
-
Constructor Details
-
TimeWindow
-
TimeWindow
-
-
Method Details
-
isEndInclusive
public boolean isEndInclusive() -
setEndInclusive
public void setEndInclusive(boolean tf) -
isStartInclusive
public boolean isStartInclusive() -
setStartInclusive
public void setStartInclusive(boolean tf) -
getEndDate
-
setEndDate
-
getStartDate
-
setStartDate
-
isStartDate
-
isEndDate
-
contains
-
isOverridingProtection
public boolean isOverridingProtection() -
contains
-
buildDateListForInterval
public NavigableSet<Date> buildDateListForInterval(Interval interval, IntervalOffset offset, TimeZone tz) - Parameters:
offset- Requires non-null!!!interval- Requires non-null!!!tz- Requires non-null!!!- Returns:
-