Home
last modified time | relevance | path

Searched refs:icuTimeZone (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/main/java/libcore/icu/
DDateIntervalFormat.java46 android.icu.util.TimeZone icuTimeZone = DateUtilsBridge.icuTimeZone(tz); in formatDateRange() local
48 return formatDateRange(icuLocale, icuTimeZone, startMs, endMs, flags); in formatDateRange()
53 public static String formatDateRange(ULocale icuLocale, android.icu.util.TimeZone icuTimeZone, in formatDateRange() argument
55 Calendar startCalendar = DateUtilsBridge.createIcuCalendar(icuTimeZone, icuLocale, startMs); in formatDateRange()
60 endCalendar = DateUtilsBridge.createIcuCalendar(icuTimeZone, icuLocale, endMs); in formatDateRange()
86 formatter.setTimeZone(icuTimeZone); in formatDateRange()
DDateUtilsBridge.java53 /* package */ static android.icu.util.TimeZone icuTimeZone(java.util.TimeZone tz) { in icuTimeZone() method in DateUtilsBridge
54 android.icu.util.TimeZone icuTimeZone = TimeZone.getTimeZone(tz.getID()); in icuTimeZone() local
55 icuTimeZone.freeze(); // Optimization - allows the timezone to be copied cheaply. in icuTimeZone()
56 return icuTimeZone; in icuTimeZone()
59 …/* package */ static Calendar createIcuCalendar(android.icu.util.TimeZone icuTimeZone, ULocale icu… in createIcuCalendar() argument
61 Calendar calendar = new GregorianCalendar(icuTimeZone, icuLocale); in createIcuCalendar()