public BucketEndPoints getEndPoints ( final int bucketsFromNow ) throws IllegalTimePoint { if ( currentNowIdx == - 1 || now == null ) { throw new IllegalTimePoint ( "The now is not set yet, thus no end-points can be returned" ) ; } return now . move ( bucketsFromNow ) ; }
Gets the end - points by an offset to now i . e . 0 means to get the now bucket - 1 gets the previous bucket and + 1 will get the next bucket .