Home
last modified time | relevance | path

Searched refs:timezoneId (Results 1 – 2 of 2) 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.java171 public Time(String timezoneId) { in Time() argument
172 if (timezoneId == null) { in Time()
175 initialize(timezoneId); in Time()
198 private void initialize(String timezoneId) { in initialize() argument
199 this.timezone = timezoneId; in initialize()
207 calculator = new TimeCalculator(timezoneId); in initialize()
299 public void clear(String timezoneId) { in clear() argument
300 if (timezoneId == null) { in clear()
303 this.timezone = timezoneId; in clear()
1068 public TimeCalculator(String timezoneId) { in TimeCalculator() argument
[all …]