Searched refs:yearString (Results 1 – 3 of 3) sorted by relevance
181 private static int getYear(String yearString) { in getYear() argument182 if (yearString.length() == 2) { in getYear()183 int year = (yearString.charAt(0) - '0') * 10 in getYear()184 + (yearString.charAt(1) - '0'); in getYear()190 } else if (yearString.length() == 3) { in getYear()192 int year = (yearString.charAt(0) - '0') * 100 in getYear()193 + (yearString.charAt(1) - '0') * 10 in getYear()194 + (yearString.charAt(2) - '0'); in getYear()196 } else if (yearString.length() == 4) { in getYear()197 return (yearString.charAt(0) - '0') * 1000 in getYear()[all …]
327 CharSequence yearString = YEAR_FORMAT.format(millis); in setCurrentView() local328 mAnimator.setContentDescription(mYearPickerDescription+": "+yearString); in setCurrentView()