Java Day in Month getDaysInMonths()

Here you can find the source of getDaysInMonths()

Description

get Days In Months

License

Apache License

Declaration

public static int[] getDaysInMonths() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    final static int DOM[] = { 31, 28, 31, 30, /* jan feb mar apr */
            31, 30, 31, 31, /* may jun jul aug */
            30, 31, 30, 31 /* sep oct nov dec */
    };/*from w  ww  .  j a v  a2s  .  co m*/

    public static int[] getDaysInMonths() {
        return DOM.clone();
    }
}

Related

  1. getDaysByMonth(int month)
  2. getDaysInMonth(int month, int year)
  3. getDaysInMonth(int month, int year)
  4. getDaysInMonth(int monthNum)
  5. getDaysInMonth(int year, int month)
  6. getDaysOfMonth(Date startdate, Date enddate, String month)
  7. getFirstDayOfMonth(int year, int month)
  8. getFirstdayOfMonth(String year, String month)
  9. getLastDayInMonth(int month, int year)