Merge "Remove some pointless code."
This commit is contained in:
@ -62,10 +62,7 @@ public class TimeUtils {
|
|||||||
*/
|
*/
|
||||||
public static TimeZone getTimeZone(int offset, boolean dst, long when, String country) {
|
public static TimeZone getTimeZone(int offset, boolean dst, long when, String country) {
|
||||||
TimeZone best = null;
|
TimeZone best = null;
|
||||||
|
final Date d = new Date(when);
|
||||||
Resources r = Resources.getSystem();
|
|
||||||
XmlResourceParser parser = r.getXml(com.android.internal.R.xml.time_zones_by_country);
|
|
||||||
Date d = new Date(when);
|
|
||||||
|
|
||||||
TimeZone current = TimeZone.getDefault();
|
TimeZone current = TimeZone.getDefault();
|
||||||
String currentName = current.getID();
|
String currentName = current.getID();
|
||||||
|
Reference in New Issue
Block a user