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.java43 assertTrue(DateFormat.hasDesignator("hh:mm:ss", DateFormat.MINUTE)); in testHasDesignator()
44 assertTrue(DateFormat.hasDesignator("myyyy", DateFormat.MINUTE)); in testHasDesignator()
45 assertTrue(DateFormat.hasDesignator("mmm", DateFormat.MINUTE)); in testHasDesignator()
47 assertFalse(DateFormat.hasDesignator("hh:MM:ss", DateFormat.MINUTE)); in testHasDesignator()
52 assertTrue(DateFormat.hasDesignator("hh:mm 'LOL'", DateFormat.MINUTE)); in testHasDesignatorEscaped()
54 assertFalse(DateFormat.hasDesignator("hh:mm 'yyyy'", DateFormat.YEAR)); in testHasDesignatorEscaped()
/frameworks/base/core/java/android/text/format/
DDateFormat.java212 is24Hour = hasDesignator(pattern, 'H'); in is24HourLocale()
434 return hasDesignator(inFormat, SECONDS); in hasSeconds()
447 public static boolean hasDesignator(CharSequence inFormat, char designator) { in hasDesignator() method in DateFormat
/frameworks/base/config/
Dboot-image-profile.txt15175 HSPLandroid/text/format/DateFormat;->hasDesignator(Ljava/lang/CharSequence;C)Z