Class DayRange

java.lang.Object
de.hybris.platform.b2b.util.DayRange
All Implemented Interfaces:
TimeRange

public class DayRange extends Object implements TimeRange
The Class B2BDayRange.
  • Constructor Details

    • DayRange

      public DayRange()
  • Method Details

    • getEndOfRange

      public Calendar getEndOfRange(Calendar calendar)
      Description copied from interface: TimeRange
      Gets the end of range. It is assumed that hour, minute and second in return Calendar object is set to 23:59:59.
      Specified by:
      getEndOfRange in interface TimeRange
      Parameters:
      calendar - object to determines current date/time, which is base date/time for calculations
      Returns:
      the end of range
      See Also:
    • getStartOfRange

      public Calendar getStartOfRange(Calendar calendar)
      Description copied from interface: TimeRange
      Gets the start of range. It is assumed that hour, minute and second in return Calendar object is set to 00:00:00.
      Specified by:
      getStartOfRange in interface TimeRange
      Parameters:
      calendar - object to determines current date and time, which is base date/time for calculations
      Returns:
      the start of range
      See Also: