public void setLocale ( Locale locale ) { mLocale = locale ; mWeekStart = Calendar . getInstance ( mTimezone , mLocale ) . getFirstDayOfWeek ( ) ; YEAR_FORMAT = new SimpleDateFormat ( "yyyy" , locale ) ; MONTH_FORMAT = new SimpleDateFormat ( "MMM" , locale ) ; DAY_FORMAT = new SimpleDateFormat ( "dd" , locale ) ; }
Set a custom locale to be used when generating various strings in the picker