private void determineLocale_MD_Y_Indices(){
  String formattedDate=formatMonthDayYear(mCalendar);
  String monthAndDay=formatMonthAndDay(mCalendar);
  String year=extractYearFromFormattedDate(formattedDate,monthAndDay);
  if (formattedDate.indexOf(monthAndDay) < formattedDate.indexOf(year)) {
    mLocaleMonthDayIndex=0;
    mLocaleYearIndex=1;
  }
 else {
    mLocaleYearIndex=0;
    mLocaleMonthDayIndex=1;
  }
}

private void determineLocale_MD_Y_Indices ( ) { String formattedDate = formatMonthDayYear ( mCalendar ) ; String monthAndDay = formatMonthAndDay ( mCalendar ) ; String year = extractYearFromFormattedDate ( formattedDate , monthAndDay ) ; if ( formattedDate . indexOf ( monthAndDay ) < formattedDate . indexOf ( year ) ) { mLocaleMonthDayIndex = 0 ; mLocaleYearIndex = 1 ; } else { mLocaleYearIndex = 0 ; mLocaleMonthDayIndex = 1 ; } }
determine the relative positions of ( md ) and y according to the formatting style of the current locale .
