Here you can find the source of isValidObjectModelMonth(int aMonth)
Parameter | Description |
---|---|
aMonth | a parameter |
public static boolean isValidObjectModelMonth(int aMonth)
//package com.java2s; public class Main { /**// www .ja va 2s. c om * * @param aMonth * @return boolean * */ /*==============================================================*/ public static boolean isValidObjectModelMonth(int aMonth) { boolean result = false; if (aMonth > 0 && aMonth < 13) { result = true; } else { result = false; } return result; } }