Package de.hybris.platform.util
Interface DateRange
- All Known Implementing Classes:
StandardDateRange
public interface DateRange
Interface of all DateRange implementations.
DateRanges are used e.g. in PriceFactories if you want to set product prices for different Dates. A simple DateRange implementation is the StandardDateRange which is specified by a start and end date.
-
Method Summary
-
Method Details
-
encloses
Says if this range encloses a given date.- Parameters:
check-- Returns:
- true if the given date lies within this range
-