diff options
author | Erik <roboerik@android.com> | 2010-06-23 17:00:59 -0700 |
---|---|---|
committer | Erik <roboerik@android.com> | 2010-06-28 11:13:39 -0700 |
commit | dc75d7711c7786e3a0c0752d6dca4dbc3e63895b (patch) | |
tree | 606e147b5e69bfbc9122b80535edb72943c50c75 /src/com/android/calendar | |
parent | bb3f08abac01e3083d837e5e823b311e3c039e90 (diff) | |
download | android_packages_apps_Calendar-dc75d7711c7786e3a0c0752d6dca4dbc3e63895b.tar.gz android_packages_apps_Calendar-dc75d7711c7786e3a0c0752d6dca4dbc3e63895b.tar.bz2 android_packages_apps_Calendar-dc75d7711c7786e3a0c0752d6dca4dbc3e63895b.zip |
Clean up Utils
Removed an unused method from Utils.
Change-Id: I0aafe006e4f874bb0f10909592d83260574f463f
Diffstat (limited to 'src/com/android/calendar')
-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. |