Here you can find the source of isNumMonth(int m)
private static boolean isNumMonth(int m)
//package com.java2s; //License from project: Open Source License public class Main { private static boolean isNumMonth(int m) { return m >= 1 && m <= 12; }// w w w . jav a 2 s .co m }