Java Month isValidMonth(int month)

Here you can find the source of isValidMonth(int month)

Description

is Valid Month

License

Open Source License

Declaration

public static boolean isValidMonth(int month) 

Method Source Code

//package com.java2s;
/*//  w w  w  . ja v a 2s.  c  o m
 * This code is licensed under "The MIT License"
 * Copyright (c) 2015 by Alberto Gonzalez
 *
 * Please see the included 'LICENSE.txt' file for the full text of the license.
 */

public class Main {
    public static boolean isValidMonth(int month) {
        return month > 0 && month < 13;
    }
}

Related

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