Java Month getAssignMonth(String date)

Here you can find the source of getAssignMonth(String date)

Description

get Assign Month

License

Open Source License

Declaration

public static String getAssignMonth(String date) 

Method Source Code

//package com.java2s;

public class Main {

    public static String getAssignMonth(String date) {
        if (date != null && date.length() >= 6)
            return date.substring(4, 6);

        return null;
    }//w w w  . j av  a  2 s. c  o  m
}

Related

  1. extractMonthFromDate(String dateString)
  2. findMonth(String strMonth)
  3. fixMonth(int month)
  4. fixMonth(String m)
  5. getAllowMonth(String startdate, int count)
  6. getCurrDateByMonth(String date)
  7. getEnligthMonth(String en)
  8. getEnMonth(String month)
  9. getFirstMonthByQuarter(int month)