Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/format/cts/
DDateUtilsTest.java165 final long DAY_DURATION = 5 * 24 * 60 * 60 * 1000; in test_getRelativeDateTimeString() local
166 assertNotNull(DateUtils.getRelativeDateTimeString(mContext, mBaseTime - DAY_DURATION, in test_getRelativeDateTimeString()
205 final long DAY_DURATION = 5 * 24 * 60 * 60 * 1000; in testFormatSameDayTime() local
207 fixedTime + DAY_DURATION, fixedTime, java.text.DateFormat.FULL, in testFormatSameDayTime()
209 assertEquals("Jan 24, 2009", DateUtils.formatSameDayTime(fixedTime + DAY_DURATION, in testFormatSameDayTime()
211 assertEquals("January 24, 2009", DateUtils.formatSameDayTime(fixedTime + DAY_DURATION, in testFormatSameDayTime()
213 assertEquals("Jan 24, 2009", DateUtils.formatSameDayTime(fixedTime + DAY_DURATION, in testFormatSameDayTime()
215 assertEquals("1/24/09", DateUtils.formatSameDayTime(fixedTime + DAY_DURATION, in testFormatSameDayTime()