Java Month Convert month2String(Date date)

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

Description

month String

License

Apache License

Declaration

public static String month2String(Date date) 

Method Source Code

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

import java.text.DateFormat;

import java.text.SimpleDateFormat;
import java.util.*;

public class Main {

    public static String month2String(Date date) {

        DateFormat format1 = new SimpleDateFormat("M.dd");
        return format1.format(date);

    }//  w ww  . ja  v  a  2 s .  co  m
}

Related

  1. createFutureDate(int days, int months)
  2. differenceMonth(String strDate1, String strDate2)
  3. isCurMonth(String month)
  4. month()
  5. month(Date date, Locale locale)
  6. monthAgo()
  7. monthConvertToNumber(String str)
  8. monthformMatDate(Date date)
  9. monthIndexAsString(Integer index, Integer offset)