/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | DateIntervalFormatTest.java | 21 import static android.text.format.DateIntervalFormat.formatDateRange; 92 formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_WEEKDAY)); in test_formatDateInterval() 94 formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, in test_formatDateInterval() 96 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_SHOW_TIME)); in test_formatDateInterval() 98 formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_SHOW_YEAR)); in test_formatDateInterval() 100 formatDateRange(en_US, tz, fixedTime, fixedTime + HOUR, FORMAT_NO_YEAR)); in test_formatDateInterval() 102 formatDateRange(en_US, tz, timeWithCurrentYear, timeWithCurrentYear + HOUR, in test_formatDateInterval() 105 formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_12HOUR | FORMAT_SHOW_TIME)); in test_formatDateInterval() 107 formatDateRange(en_US, tz, fixedTime, fixedTime, FORMAT_24HOUR | FORMAT_SHOW_TIME)); in test_formatDateInterval() 108 assertEquals("3:30 AM", formatDateRange(en_US, tz, fixedTime, fixedTime, in test_formatDateInterval() [all …]
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 551 public static String formatDateRange(Context context, long startMillis, in formatDateRange() method in DateUtils 554 return formatDateRange(context, f, startMillis, endMillis, flags).toString(); in formatDateRange() 575 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() method in DateUtils 577 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); in formatDateRange() 743 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() method in DateUtils 752 String range = DateIntervalFormat.formatDateRange(startMillis, endMillis, flags, timeZone); in formatDateRange() 804 return formatDateRange(context, millis, millis, flags); in formatDateTime() 844 result = formatDateRange(c, millis, millis, flags); in getRelativeTimeSpanString() 849 result = formatDateRange(c, millis, millis, flags); in getRelativeTimeSpanString() 856 result = formatDateRange(c, millis, millis, flags); in getRelativeTimeSpanString()
|
D | DateIntervalFormat.java | 51 public static String formatDateRange(long startMs, long endMs, int flags, String olsonId) { in formatDateRange() method in DateIntervalFormat 60 return formatDateRange(icuLocale, icuTimeZone, startMs, endMs, flags); in formatDateRange() 68 public static String formatDateRange(ULocale icuLocale, android.icu.util.TimeZone icuTimeZone, in formatDateRange() method in DateIntervalFormat
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 144 usage.period = formatDateRange(start, end); in getDataUsageInfo() 271 private String formatDateRange(long start, long end) { in formatDateRange() method in DataUsageController 275 return DateUtils.formatDateRange(mContext, PERIOD_FORMATTER, start, end, flags, null) in formatDateRange()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneInfo.java | 159 DateUtils.formatDateRange(context, mFormatter, now, now, flags, mTzId); in getGmtDisplayName()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 787 pw.printPair("timeRange", "\"" + DateUtils.formatDateRange(mContext, in printLast24HrEvents() 823 pw.printPair("timeRange", "\"" + DateUtils.formatDateRange(mContext, in printIntervalStats()
|
/frameworks/base/core/java/android/widget/ |
D | CalendarViewLegacyDelegate.java | 936 String newMonthName = DateUtils.formatDateRange(mContext, millis, millis, flags); in setMonthDisplayed()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 15180 HSPLandroid/text/format/DateUtils;->formatDateRange(Landroid/content/Context;Ljava/util/Formatter;J… 30619 HSPLlibcore/icu/DateIntervalFormat;->formatDateRange(JJILjava/lang/String;)Ljava/lang/String; 30620 HSPLlibcore/icu/DateIntervalFormat;->formatDateRange(Landroid/icu/util/ULocale;Landroid/icu/util/Ti…
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 30043 method public static java.lang.String formatDateRange(android.content.Context, long, long, int); 30044 …method public static java.util.Formatter formatDateRange(android.content.Context, java.util.Format… 30045 …method public static java.util.Formatter formatDateRange(android.content.Context, java.util.Format…
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 47615 method public static String formatDateRange(android.content.Context, long, long, int); 47616 …method public static java.util.Formatter formatDateRange(android.content.Context, java.util.Format… 47617 …method public static java.util.Formatter formatDateRange(android.content.Context, java.util.Format…
|
/frameworks/base/api/ |
D | current.txt | 47759 method public static String formatDateRange(android.content.Context, long, long, int); 47760 …method public static java.util.Formatter formatDateRange(android.content.Context, java.util.Format… 47761 …method public static java.util.Formatter formatDateRange(android.content.Context, java.util.Format…
|