Java Month isValidObjectModelMonth(int aMonth)

Here you can find the source of isValidObjectModelMonth(int aMonth)

Description

is Valid Object Model Month

License

Open Source License

Parameter

Parameter Description
aMonth a parameter

Return

boolean

Declaration


public static boolean isValidObjectModelMonth(int aMonth) 

Method Source Code

//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;
    }
}

Related

  1. isQuarterMonth(String[] types)
  2. isSameMonth(String preMonth, String month)
  3. issueMonth(int issue1, int issue2)
  4. issueMonthNum(int issue1, int issue2)
  5. isValidMonth(int month)
  6. isWeekOfMonth(int num)
  7. leapMonth(int y)
  8. lineStartsWithMonthString(String line)
  9. lookupMonthStr(int month)