Commit 684e83d5 authored by xujialang's avatar xujialang

修改补充-2

parent 39326907
...@@ -49,7 +49,7 @@ public class DeepNight { ...@@ -49,7 +49,7 @@ public class DeepNight {
private static boolean checkTime() { private static boolean checkTime() {
int curr_hour = Calendar.getInstance().get(Calendar.HOUR_OF_DAY); int curr_hour = Calendar.getInstance().get(Calendar.HOUR_OF_DAY);
LogUtil.d("OutShow curr_hour =" + curr_hour); LogUtil.d("OutShow curr_hour =" + curr_hour);
return start_time <= curr_hour && curr_hour <= end_time; return start_time <= curr_hour && curr_hour < end_time;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment