public static String formatMonthYear(Context context,Time time){
  int flags=DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NO_MONTH_DAY | DateUtils.FORMAT_SHOW_YEAR;
  long millis=time.toMillis(true);
  return formatDateRange(context,millis,millis,flags);
}

public static String formatMonthYear ( Context context , Time time ) { int flags = DateUtils . FORMAT_SHOW_DATE | DateUtils . FORMAT_NO_MONTH_DAY | DateUtils . FORMAT_SHOW_YEAR ; long millis = time . toMillis ( true ) ; return formatDateRange ( context , millis , millis , flags ) ; }
formats the given time object so that it gives the month and year ( for example , " september 2007 " ) .
