/**
* @description 判断当前时间是否大于12点
* @return true:中午12点之后; false:12点之前
* @version 1.0
*/
@Override
public boolean decideTimeTwelve(){
Calendar c = Calendar.getInstance();
int currentHour = c.get(Calendar.HOUR_OF_DAY);
return currentHour>=12;
}
本文转自aaa超超aaa 51CTO博客,原文链接:http://blog.51cto.com/10983441/1948819