Code example for DateFormat

	private ImageView nextMonth;
	private GridView calendarView;
	private GridCellAdapter adapter;
	private Calendar _calendar;
	private int month, year;	
	private final DateFormat dateFormatter = new DateFormat();
	private static final String dateTemplate = "MMMM yyyy";
	public String strSelectedDate = "";
	public Boolean bIsDateSelected = false;
	/** Called when the activity is first created. */	 
	public void onCreate(Bundle savedInstanceState) {
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		context = (CheckinLibraryActivity) this.getActivity();
Connect your IDE to all the code out there  Get Codota for Java