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.java39 assertTrue(DateFormat.hasDesignator("hh:mm:ss", DateFormat.MINUTE)); in testHasDesignator()
40 assertTrue(DateFormat.hasDesignator("myyyy", DateFormat.MINUTE)); in testHasDesignator()
41 assertTrue(DateFormat.hasDesignator("mmm", DateFormat.MINUTE)); in testHasDesignator()
43 assertFalse(DateFormat.hasDesignator("hh:MM:ss", DateFormat.MINUTE)); in testHasDesignator()
48 assertTrue(DateFormat.hasDesignator("hh:mm 'LOL'", DateFormat.MINUTE)); in testHasDesignatorEscaped()
50 assertFalse(DateFormat.hasDesignator("hh:mm 'yyyy'", DateFormat.YEAR)); in testHasDesignatorEscaped()
/frameworks/base/core/java/android/text/format/
DDateFormat.java213 is24Hour = hasDesignator(pattern, 'H'); in is24HourLocale()
387 return hasDesignator(inFormat, SECONDS); in hasSeconds()
400 public static boolean hasDesignator(CharSequence inFormat, char designator) { in hasDesignator() method in DateFormat
/frameworks/base/config/
Dboot-image-profile.txt19824 HSPLandroid/text/format/DateFormat;->hasDesignator(Ljava/lang/CharSequence;C)Z