Home
last modified time | relevance | path

Searched refs:timezoneId (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/benchmarks/src/android/text/format/
DAndroidTimeVsOthersBenchmark.java37 String timezoneId = TIMEZONE_IDS[i % TIMEZONE_IDS.length]; in toMillis_androidTime() local
38 Time time = new Time(timezoneId); in toMillis_androidTime()
49 String timezoneId = TIMEZONE_IDS[i % TIMEZONE_IDS.length]; in toMillis_javaTime() local
51 ZoneOffset offset = ZoneId.of(timezoneId).getRules().getOffset(time); in toMillis_javaTime()
61 String timezoneId = TIMEZONE_IDS[i % TIMEZONE_IDS.length]; in toMillis_javaUtil() local
62 java.util.TimeZone timeZone = java.util.TimeZone.getTimeZone(timezoneId); in toMillis_javaUtil()
75 String timezoneId = TIMEZONE_IDS[i % TIMEZONE_IDS.length]; in toMillis_androidIucUtil() local
77 android.icu.util.TimeZone.getTimeZone(timezoneId); in toMillis_androidIucUtil()
/frameworks/base/core/java/android/text/format/
DTime.java172 public Time(String timezoneId) { in Time() argument
173 if (timezoneId == null) { in Time()
176 initialize(timezoneId); in Time()
199 private void initialize(String timezoneId) { in initialize() argument
200 this.timezone = timezoneId; in initialize()
208 calculator = new TimeCalculator(timezoneId); in initialize()
300 public void clear(String timezoneId) { in clear() argument
301 if (timezoneId == null) { in clear()
304 this.timezone = timezoneId; in clear()
1080 public TimeCalculator(String timezoneId) { in TimeCalculator() argument
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DTime.java291 public void clear(String timezoneId) { in clear() argument
294 setTimezone(timezoneId); in clear()