- All Implemented Interfaces:
- ResultItemComparator, Comparator<ResultItem>
public class ResultItem24HrsBlockFromNowComparator
extends Object
implements ResultItemComparator
This comparator sorts result items in 24 hours rolling window from the current date time.
If for example, the current date time is 10-10-2015 10:00 AM, then the first sort window
will be 10-10-2015 10:00 AM to 09-10-2015 10:01 AM, the next window 09-10-2015 10:00 AM
to 08-10-2015 10:01 AM and so on.
- Version:
- $Revision$ $Date$
- Author:
- S M Raihan Azim, last modified by raihan