Package de.hybris.platform.b2b.util
Class YearRange
java.lang.Object
de.hybris.platform.b2b.util.YearRange
- All Implemented Interfaces:
TimeRange
The Class B2BYearRange.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEndOfRange(Calendar calendar) Gets the end of range.getStartOfRange(Calendar calendar) Gets the start of range.
-
Constructor Details
-
YearRange
public YearRange()
-
-
Method Details
-
getEndOfRange
Description copied from interface:TimeRangeGets the end of range. It is assumed that hour, minute and second in returnCalendarobject is set to 23:59:59.- Specified by:
getEndOfRangein interfaceTimeRange- Parameters:
calendar- object to determines current date/time, which is base date/time for calculations- Returns:
- the end of range
- See Also:
-
getStartOfRange
Description copied from interface:TimeRangeGets the start of range. It is assumed that hour, minute and second in returnCalendarobject is set to 00:00:00.- Specified by:
getStartOfRangein interfaceTimeRange- Parameters:
calendar- object to determines current date and time, which is base date/time for calculations- Returns:
- the start of range
- See Also:
-