Searched refs:getRelativeDateTimeString (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | RelativeDateTimeFormatterTest.java | 30 import static android.text.format.RelativeDateTimeFormatter.getRelativeDateTimeString; 481 getRelativeDateTimeString(en_US, tz, base - 5 * HOUR_IN_MILLIS, base, in test_getRelativeDateTimeString() 544 getRelativeDateTimeString(en_US, tz, base + 90 * MINUTE_IN_MILLIS, in test_getRelativeDateTimeStringDST() 548 getRelativeDateTimeString(en_US, tz, base + 135 * MINUTE_IN_MILLIS, in test_getRelativeDateTimeStringDST() 629 getRelativeDateTimeString(en_US, tz, tomorrow1, now, MINUTE_IN_MILLIS, in test5252772() 637 getRelativeDateTimeString(en_US, tz, tomorrow2, now, MINUTE_IN_MILLIS, in test5252772() 667 assertEquals("Feb 5, 5:50\u202fAM", getRelativeDateTimeString(en_US, tz, in test_bug19822016() 669 assertEquals("Jan 29, 10:50\u202fAM", getRelativeDateTimeString(en_US, tz, in test_bug19822016() 690 assertEquals("Feb 5, 5:50\u202fAM", getRelativeDateTimeString(en_US, tz, in test_bug19822016() 692 assertEquals("Jan 29, 10:50\u202fAM", getRelativeDateTimeString(en_US, tz, in test_bug19822016() [all …]
|
/aosp14/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 348 public static CharSequence getRelativeDateTimeString(Context c, long time, long minResolution, in getRelativeDateTimeString() method in DateUtils 355 return RelativeDateTimeFormatter.getRelativeDateTimeString(Locale.getDefault(), in getRelativeDateTimeString()
|
H A D | RelativeDateTimeFormatter.java | 260 public static String getRelativeDateTimeString(Locale locale, java.util.TimeZone tz, long time, in getRelativeDateTimeString() method in RelativeDateTimeFormatter
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 47816 …method public static CharSequence getRelativeDateTimeString(android.content.Context, long, long, l…
|