Android Month Date Get getStringMonth(Date date)

Here you can find the source of getStringMonth(Date date)

Description

get String Month

Declaration

public static String getStringMonth(Date date) 

Method Source Code

//package com.java2s;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class Main {
    public static String getStringMonth(Date date) {
        Calendar cal = Calendar.getInstance();
        SimpleDateFormat month_date = new SimpleDateFormat("MMMM");
        return month_date.format(cal.getTime());
    }//from  w  w  w.  j  a va  2  s .  c  om
}

Related

  1. monthNumber()
  2. getInterval(String beginMonth, String endMonth)
  3. monthOffset(Date date, int offset)
  4. getMonth()
  5. getCurrentMonth()
  6. getMonth(int month, Locale locale)
  7. getMonthName(String substring)
  8. getEndCurrentMonth()
  9. getEndCurrentMonthCal()