Code example for DateFormat

0
	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. */	 
	@Override 
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	} 
 
	@Override 
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		context = (CheckinLibraryActivity) this.getActivity();
		View fragmentView = inflater.inflate(R.layout.simple_calendar_view, container, false);