Java tutorial
//package com.java2s; //License from project: Apache License import java.text.SimpleDateFormat; import java.util.GregorianCalendar; import java.util.Locale; public class Main { private static SimpleDateFormat dfMese = new SimpleDateFormat("MMM", Locale.ITALIAN); public static String getMese(GregorianCalendar cal) { return dfMese.format(cal.getTime()); } }