diff options
Diffstat (limited to 'src/com/android/calendar/Utils.java')
-rw-r--r-- | src/com/android/calendar/Utils.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/com/android/calendar/Utils.java b/src/com/android/calendar/Utils.java index 4d5b4ad5..d2fb33d1 100644 --- a/src/com/android/calendar/Utils.java +++ b/src/com/android/calendar/Utils.java @@ -215,18 +215,6 @@ public class Utils { return time.format(context.getResources().getString(R.string.month_year)); } - // TODO: replace this with the correct i18n way to do this - public static final String englishNthDay[] = { - "", "1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", - "10th", "11th", "12th", "13th", "14th", "15th", "16th", "17th", "18th", "19th", - "20th", "21st", "22nd", "23rd", "24th", "25th", "26th", "27th", "28th", "29th", - "30th", "31st" - }; - - public static String formatNth(int nth) { - return "the " + englishNthDay[nth]; - } - /** * Sets the time to the beginning of the day (midnight) by clearing the * hour, minute, and second fields. |