Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/format/
DDateIntervalFormat.java58 android.icu.util.TimeZone icuTimeZone = DateUtilsBridge.icuTimeZone(tz); in formatDateRange() local
60 return formatDateRange(icuLocale, icuTimeZone, startMs, endMs, flags); in formatDateRange()
68 public static String formatDateRange(ULocale icuLocale, android.icu.util.TimeZone icuTimeZone, in formatDateRange() argument
70 Calendar startCalendar = DateUtilsBridge.createIcuCalendar(icuTimeZone, icuLocale, startMs); in formatDateRange()
75 endCalendar = DateUtilsBridge.createIcuCalendar(icuTimeZone, icuLocale, endMs); in formatDateRange()
101 getFormatter(skeleton, icuLocale, icuTimeZone); in formatDateRange()
108 android.icu.util.TimeZone icuTimeZone) { in getFormatter() argument
109 String key = skeleton + "\t" + locale + "\t" + icuTimeZone; in getFormatter()
115 formatter.setTimeZone(icuTimeZone); in getFormatter()
DRelativeDateTimeFormatter.java113 android.icu.util.TimeZone icuTimeZone = DateUtilsBridge.icuTimeZone(tz); in getRelativeTimeSpanString() local
114 return getRelativeTimeSpanString(icuLocale, icuTimeZone, time, now, minResolution, flags, in getRelativeTimeSpanString()
119 android.icu.util.TimeZone icuTimeZone, long time, long now, long minResolution, in getRelativeTimeSpanString() argument
161 count = Math.abs(dayDistance(icuTimeZone, time, now)); in getRelativeTimeSpanString()
203 Calendar timeCalendar = DateUtilsBridge.createIcuCalendar(icuTimeZone, icuLocale, time); in getRelativeTimeSpanString()
213 Calendar nowCalendar = DateUtilsBridge.createIcuCalendar(icuTimeZone, icuLocale, in getRelativeTimeSpanString()
270 android.icu.util.TimeZone icuTimeZone = DateUtilsBridge.icuTimeZone(tz); in getRelativeDateTimeString() local
284 Calendar timeCalendar = DateUtilsBridge.createIcuCalendar(icuTimeZone, icuLocale, time); in getRelativeDateTimeString()
285 Calendar nowCalendar = DateUtilsBridge.createIcuCalendar(icuTimeZone, icuLocale, now); in getRelativeDateTimeString()
298 dateClause = getRelativeTimeSpanString(icuLocale, icuTimeZone, time, now, minResolution, in getRelativeDateTimeString()
[all …]
DDateUtilsBridge.java56 public static TimeZone icuTimeZone(java.util.TimeZone tz) { in icuTimeZone() method in DateUtilsBridge
57 TimeZone icuTimeZone = TimeZone.getTimeZone(tz.getID()); in icuTimeZone() local
58 icuTimeZone.freeze(); // Optimization - allows the timezone to be copied cheaply. in icuTimeZone()
59 return icuTimeZone; in icuTimeZone()
65 public static Calendar createIcuCalendar(TimeZone icuTimeZone, ULocale icuLocale, in createIcuCalendar() argument
67 Calendar calendar = new GregorianCalendar(icuTimeZone, icuLocale); in createIcuCalendar()
/frameworks/base/core/java/android/util/
DTimeUtils.java58 android.icu.util.TimeZone icuTimeZone = getIcuTimeZone(offset, dst, when, country); in getTimeZone() local
61 return icuTimeZone != null ? java.util.TimeZone.getTimeZone(icuTimeZone.getID()) : null; in getTimeZone()
/frameworks/base/config/
Dboot-image-profile.txt43708 HSPLlibcore/icu/DateUtilsBridge;->icuTimeZone(Ljava/util/TimeZone;)Landroid/icu/util/TimeZone;