Home
last modified time | relevance | path

Searched refs:getRelativeTimeSpanString (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/text/format/
H A DRelativeDateTimeFormatterTest.java407 assertEquals("Gestern", getRelativeTimeSpanString(de_DE, tz, in test_getRelativeTimeSpanStringGerman()
410 assertEquals("Vorgestern", getRelativeTimeSpanString(de_DE, tz, in test_getRelativeTimeSpanStringGerman()
413 assertEquals("Morgen", getRelativeTimeSpanString(de_DE, tz, in test_getRelativeTimeSpanStringGerman()
416 assertEquals("Übermorgen", getRelativeTimeSpanString(de_DE, tz, in test_getRelativeTimeSpanStringGerman()
436 assertEquals("Hier", getRelativeTimeSpanString(fr_FR, tz, in test_getRelativeTimeSpanStringFrench()
442 assertEquals("Demain", getRelativeTimeSpanString(fr_FR, tz, in test_getRelativeTimeSpanStringFrench()
674 assertEquals("January 6", getRelativeTimeSpanString(en_US, tz, in test_bug19822016()
676 assertEquals("January 6", getRelativeTimeSpanString(en_US, tz, in test_bug19822016()
697 assertEquals("January 6", getRelativeTimeSpanString(en_US, tz, in test_bug19822016()
699 assertEquals("January 6", getRelativeTimeSpanString(en_US, tz, in test_bug19822016()
[all …]
/aosp14/frameworks/base/core/java/android/text/format/
H A DDateUtils.java278 public static CharSequence getRelativeTimeSpanString(long startTime) { in getRelativeTimeSpanString() method in DateUtils
279 return getRelativeTimeSpanString(startTime, System.currentTimeMillis(), MINUTE_IN_MILLIS); in getRelativeTimeSpanString()
294 public static CharSequence getRelativeTimeSpanString(long time, long now, long minResolution) { in getRelativeTimeSpanString() method in DateUtils
296 return getRelativeTimeSpanString(time, now, minResolution, flags); in getRelativeTimeSpanString()
319 public static CharSequence getRelativeTimeSpanString(long time, long now, long minResolution, in getRelativeTimeSpanString() method in DateUtils
321 return RelativeDateTimeFormatter.getRelativeTimeSpanString(Locale.getDefault(), in getRelativeTimeSpanString()
829 public static CharSequence getRelativeTimeSpanString(Context c, long millis, in getRelativeTimeSpanString() method in DateUtils
882 public static CharSequence getRelativeTimeSpanString(Context c, long millis) { in getRelativeTimeSpanString() method in DateUtils
883 return getRelativeTimeSpanString(c, millis, false /* no preposition */); in getRelativeTimeSpanString()
H A DRelativeDateTimeFormatter.java93 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString() method in RelativeDateTimeFormatter
100 return getRelativeTimeSpanString(locale, tz, time, now, minResolution, flags, in getRelativeTimeSpanString()
104 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString() method in RelativeDateTimeFormatter
114 return getRelativeTimeSpanString(icuLocale, icuTimeZone, time, now, minResolution, flags, in getRelativeTimeSpanString()
118 private static String getRelativeTimeSpanString(ULocale icuLocale, in getRelativeTimeSpanString() method in RelativeDateTimeFormatter
298 dateClause = getRelativeTimeSpanString(icuLocale, icuTimeZone, time, now, minResolution, in getRelativeDateTimeString()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DCountdownConditionProvider.java124 DateUtils.getRelativeTimeSpanString(mTime, now, DateUtils.MINUTE_IN_MILLIS); in onSubscribe()
179 DateUtils.getRelativeTimeSpanString(time, now, DateUtils.MINUTE_IN_MILLIS); in tryParseDescription()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt47817 method public static CharSequence getRelativeTimeSpanString(long);
47818 method public static CharSequence getRelativeTimeSpanString(long, long, long);
47819 method public static CharSequence getRelativeTimeSpanString(long, long, long, int);
47820 …method public static CharSequence getRelativeTimeSpanString(android.content.Context, long, boolean…
47821 method public static CharSequence getRelativeTimeSpanString(android.content.Context, long);
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt15301 HSPLandroid/text/format/DateUtils;->getRelativeTimeSpanString(JJJI)Ljava/lang/CharSequence;
15317 HSPLandroid/text/format/RelativeDateTimeFormatter;->getRelativeTimeSpanString(Landroid/icu/util/ULo…
15318 HSPLandroid/text/format/RelativeDateTimeFormatter;->getRelativeTimeSpanString(Ljava/util/Locale;Lja…
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt15365 HSPLandroid/text/format/DateUtils;->getRelativeTimeSpanString(JJJI)Ljava/lang/CharSequence;
15381 HSPLandroid/text/format/RelativeDateTimeFormatter;->getRelativeTimeSpanString(Landroid/icu/util/ULo…
15382 HSPLandroid/text/format/RelativeDateTimeFormatter;->getRelativeTimeSpanString(Ljava/util/Locale;Lja…