isValidMonth static method

bool isValidMonth(
  1. Object? month
)

Implementation

static bool isValidMonth(Object? month) {
  int current = Converter.toInt(month);
  return (current >= 1) && (current <= 12);
}