Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/format/cts/
DDateUtilsTest.java125 final long TWO_HOURS_IN_MS = 2 * ONE_HOUR_IN_MS; in test_getRelativeTimeSpanString() local
126 assertEquals("2 hours ago", DateUtils.getRelativeTimeSpanString(mBaseTime - TWO_HOURS_IN_MS, in test_getRelativeTimeSpanString()
128 assertEquals("In 2 hours", DateUtils.getRelativeTimeSpanString(mBaseTime + TWO_HOURS_IN_MS, in test_getRelativeTimeSpanString()