1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Remove unused date formatter.

This commit is contained in:
Andrew Chen 2012-01-03 20:34:19 -08:00
parent fec6434f08
commit 81f0cb510a

View File

@ -15,7 +15,6 @@ import android.view.animation.AccelerateInterpolator;
import android.view.animation.Animation;
import android.view.animation.TranslateAnimation;
import com.fsck.k9.K9;
import com.fsck.k9.helper.DateFormatter;
import com.fsck.k9.view.ToggleScrollView;
@ -70,12 +69,9 @@ public class K9Activity extends Activity {
setupFormats();
}
private java.text.DateFormat mDateFormat;
private java.text.DateFormat mTimeFormat;
private void setupFormats() {
mDateFormat = DateFormatter.getDateFormat(this);
mTimeFormat = android.text.format.DateFormat.getTimeFormat(this); // 12/24 date format
}
@ -83,10 +79,6 @@ public class K9Activity extends Activity {
return mTimeFormat;
}
public java.text.DateFormat getDateFormat() {
return mDateFormat;
}
/**
* Called when a swipe from right to left is handled by {@link MyGestureDetector}. See
* {@link android.view.GestureDetector.OnGestureListener#onFling(android.view.MotionEvent, android.view.MotionEvent, float, float)}