結果 : java check if time is within range