Searched refs:TimeZone (Results 1 – 18 of 18) sorted by relevance
44 import java.util.TimeZone;65 TimeZone tz = TimeZone.getTimeZone(name); in testUnitedStates()67 TimeZone guess; in testUnitedStates()87 TimeZone tz = TimeZone.getTimeZone(name); in testWeirdUnitedStates()89 TimeZone guess; in testWeirdUnitedStates()104 TimeZone tz = TimeZone.getTimeZone(name); in testOld()106 TimeZone guess; in testOld()125 TimeZone tz = TimeZone.getTimeZone(name); in testWorldWeird()127 TimeZone guess; in testWorldWeird()135 private static TimeZone guessTimeZone(Calendar c, String country) { in guessTimeZone()
42 import java.util.TimeZone;47 private TimeZone mDefaultTimeZone;54 mDefaultTimeZone = TimeZone.getDefault(); in setup()56 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in setup()63 TimeZone.setDefault(mDefaultTimeZone); in tearDown()
58 import java.util.TimeZone;221 Calendar calendar = new GregorianCalendar(TimeZone.getTimeZone("GMT+00:00")); in test2038()245 TimeZone utc = TimeZone.getTimeZone("UTC"); in checkFormat()
58 import java.util.TimeZone;1294 assertEquals(TimeZone.getDefault().getID(), r); in testGetCurrentTimezone()2969 TimeZone tz = TimeZone.getTimeZone(timeZoneId); in calculateExpectedMillis()3010 String[] tzIds = TimeZone.getAvailableIDs(); in test_toMillisAndNormalizeGenerallyWork()3012 TimeZone timeZone = TimeZone.getTimeZone(tzId); in test_toMillisAndNormalizeGenerallyWork()
42 import java.util.TimeZone;200 private final TimeZone mDefaultTimeZone;208 mDefaultTimeZone = TimeZone.getDefault(); in TestEnvironment()234 TimeZone.setDefault(mDefaultTimeZone); in reset()
24 import java.util.TimeZone;59 .setTimeZone(TimeZone.getTimeZone("UTC")) in assertMagneticField()
54 import java.util.TimeZone;111 for (String id : TimeZone.getAvailableIDs()) { in testUpdate12_24()112 final TimeZone timeZone = TimeZone.getTimeZone(id); in testUpdate12_24()
40 public final class TimeZone { class
34 import java.util.TimeZone;104 sdf.setTimeZone(TimeZone.getTimeZone(getDeviceTimezone())); in testFirstInstallTimeMatchesDumpsys()
44 return java.util.TimeZone.getDefault().getID();
56 import java.util.TimeZone;468 @PolicyAppliesTest(policy = com.android.bedstead.harrier.policies.TimeZone.class)481 Poll.forValue("timezone ID", () -> TimeZone.getDefault().getID()) in setTimeZone_timeZoneIsSet()503 @PolicyDoesNotApplyTest(policy = com.android.bedstead.harrier.policies.TimeZone.class)516 assertThat(TimeZone.getDefault().getDisplayName()).isNotEqualTo(TIMEZONE); in setTimeZone_doesNotApply_timeZoneIsNotSet()524 @PolicyAppliesTest(policy = com.android.bedstead.harrier.policies.TimeZone.class)537 assertThat(TimeZone.getDefault().getDisplayName()).isNotEqualTo(TIMEZONE); in setTimeZone_autoTimeZoneIsEnabled_returnsFalse()545 @CannotSetPolicyTest(policy = com.android.bedstead.harrier.policies.TimeZone.class,
47 return java.util.TimeZone.getDefault().getID();
54 import java.util.TimeZone;216 Calendar currentTime = GregorianCalendar.getInstance(TimeZone.getTimeZone("UTC")); in generateSuplPositionInitLocalLocationMessage()
50 import java.util.TimeZone;599 getDuration() - TimeZone.getDefault().getOffset(0), in toReportString()
73 import java.util.TimeZone;100 Calendar.getInstance(TimeZone.getTimeZone("GMT+0"));
71 import java.util.TimeZone;1245 formatter.setTimeZone(TimeZone.getTimeZone("UTC")); in getGpsDateTimeFromJpeg()
3993 name: "java.util.TimeZone"3996 return_type: "java.util.TimeZone"4000 parameters: "java.util.TimeZone"
50364 method public static java.util.TimeZone getTimeZone(int, boolean, long, String);