Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/format/
DDateFormatTest.java26 assertTrue(DateFormat.hasDesignator("hh:mm:ss", DateFormat.MINUTE)); in testHasDesignator()
27 assertTrue(DateFormat.hasDesignator("myyyy", DateFormat.MINUTE)); in testHasDesignator()
28 assertTrue(DateFormat.hasDesignator("mmm", DateFormat.MINUTE)); in testHasDesignator()
30 assertFalse(DateFormat.hasDesignator("hh:MM:ss", DateFormat.MINUTE)); in testHasDesignator()
35 assertTrue(DateFormat.hasDesignator("hh:mm 'LOL'", DateFormat.MINUTE)); in testHasDesignatorEscaped()
37 assertFalse(DateFormat.hasDesignator("hh:mm 'yyyy'", DateFormat.YEAR)); in testHasDesignatorEscaped()
/frameworks/base/core/java/android/text/format/
DDateFormat.java394 return hasDesignator(inFormat, SECONDS); in hasSeconds()
403 public static boolean hasDesignator(CharSequence inFormat, char designator) { in hasDesignator() method in DateFormat
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardWidgetPager.java917 if (DateFormat.hasDesignator(format, hour)) {
920 if (DateFormat.hasDesignator(format, DateFormat.MINUTE)) {