得到当前时间的小时数

Calendar.getInstance().get(Calendar.HOUR_OF_DAY)//得到当前时间的小时数

原文地址:https://www.cnblogs.com/jpfss/p/10455488.html