bsglz edited a comment on pull request #2279:
URL: https://github.com/apache/hbase/pull/2279#issuecomment-677723234
The related logic shows below.
> @Override
> public boolean isOffPeakHour(int targetHour) {
> if (startHour <= endHour) {
> return startHour <= targetHour && targetHour < endHour;
> }
> return targetHour < endHour || startHour <= targetHour;
> }
this line: return startHour <= targetHour && **targetHour < endHour**;
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]