是否对应小时 @param calendar Calendar @param hour 待判断小时 @return true yes, false no
(
final Calendar calendar,
final int hour
)
| 1604 | * @return {@code true} yes, {@code false} no |
| 1605 | */ |
| 1606 | public static boolean isHour( |
| 1607 | final Calendar calendar, |
| 1608 | final int hour |
| 1609 | ) { |
| 1610 | return hour != -1 && hour == get24Hour(calendar); |
| 1611 | } |
| 1612 | |
| 1613 | // = |
| 1614 |
nothing calls this directly
no test coverage detected