isBusinessHour static method

bool isBusinessHour(
  1. int hour
)

Implementation

static bool isBusinessHour(int hour) {
  return hour >= 9 && hour <= 17;
}