| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
| DataFormatFieldTest.java | 108 assertEquals("Field.AM_PM.getCalendarField() returned the wrong value", 109 Calendar.AM_PM, Field.AM_PM.getCalendarField()); 133 assertSame("ofCalendarField(Calendar.AM_PM) returned the wrong value", 134 Field.AM_PM, Field.ofCalendarField(Calendar.AM_PM)); 188 field = new MyField(null, Calendar.AM_PM);
|
| Support_MessageFormat.java | 64 t_FormatWithField(2, format, objects, null, DateFormat.Field.AM_PM, 0, 108 v.add(new FieldContainer(27, 29, DateFormat.Field.AM_PM));
|
| Support_SimpleDateFormat.java | 90 t_FormatWithField(15, format, date, null, Field.AM_PM, 143, 145); 119 t_FormatWithField(37, format, date, null, Field.AM_PM, 0, 0); 248 v.add(new FieldContainer(143, 145, Field.AM_PM)); 249 v.add(new FieldContainer(147, 149, Field.AM_PM));
|
| /cts/tests/tests/widget/res/layout/ |
| digitalclock_layout.xml | 31 <LinearLayout android:id="@+id/am_pm"
|
| /external/icu/icu4c/source/test/cintltst/ |
| ccaltst.h | 92 int32_t hour, int32_t min, int32_t sec, int32_t am_pm);
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
| CalendarTest.java | 367 cal.set(Calendar.AM_PM, Calendar.AM); 373 cal.set(Calendar.AM_PM, Calendar.PM); 374 assertEquals("AM_PM not changed", Calendar.PM, cal.get(Calendar.AM_PM)); 375 // setting AM_PM without HOUR should not have any affect 376 cal.set(Calendar.AM_PM, Calendar.AM); 377 assertEquals("AM_PM was changed 1", 378 Calendar.AM, cal.get(Calendar.AM_PM)); 381 cal.set(Calendar.AM_PM, Calendar.PM); 382 assertEquals("AM_PM was changed 2" [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
| _strptime.py | 41 am_pm -- AM/PM representation (2-item list)
104 # Set self.am_pm by using time.strftime().
109 am_pm = []
112 am_pm.append(time.strftime("%p", time_tuple).lower())
113 self.am_pm = am_pm
130 (self.a_month[3], '%b'), (self.am_pm[1], '%p'),
211 'p': self.__seqToRE(self.locale_time.am_pm, 'p'),
372 if ampm in ('', locale_time.am_pm[0]):
378 elif ampm == locale_time.am_pm[1]: [all...] |
| /external/python/cpython2/Lib/ |
| _strptime.py | 41 am_pm -- AM/PM representation (2-item list) 106 # Set self.am_pm by using time.strftime(). 111 am_pm = [] 114 am_pm.append(time.strftime("%p", time_tuple).lower()) 115 self.am_pm = am_pm 132 (self.a_month[3], '%b'), (self.am_pm[1], '%p'), 215 'p': self.__seqToRE(self.locale_time.am_pm, 'p'), 380 if ampm in ('', locale_time.am_pm[0]): 386 elif ampm == locale_time.am_pm[1] [all...] |
| /external/python/cpython3/Lib/ |
| _strptime.py | 43 am_pm -- AM/PM representation (2-item list) 108 # Set self.am_pm by using time.strftime(). 113 am_pm = [] 116 am_pm.append(time.strftime("%p", time_tuple).lower()) 117 self.am_pm = am_pm 134 (self.a_month[3], '%b'), (self.am_pm[1], '%p'), 221 'p': self.__seqToRE(self.locale_time.am_pm, 'p'), 413 if ampm in ('', locale_time.am_pm[0]): 419 elif ampm == locale_time.am_pm[1] [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/ |
| _strptime.py | 41 am_pm -- AM/PM representation (2-item list) 104 # Set self.am_pm by using time.strftime(). 109 am_pm = [] 112 am_pm.append(time.strftime("%p", time_tuple).lower()) 113 self.am_pm = am_pm 130 (self.a_month[3], '%b'), (self.am_pm[1], '%p'), 211 'p': self.__seqToRE(self.locale_time.am_pm, 'p'), 373 if ampm in ('', locale_time.am_pm[0]): 379 elif ampm == locale_time.am_pm[1] [all...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/ |
| _strptime.py | 41 am_pm -- AM/PM representation (2-item list) 104 # Set self.am_pm by using time.strftime(). 109 am_pm = [] 112 am_pm.append(time.strftime("%p", time_tuple).lower()) 113 self.am_pm = am_pm 130 (self.a_month[3], '%b'), (self.am_pm[1], '%p'), 211 'p': self.__seqToRE(self.locale_time.am_pm, 'p'), 373 if ampm in ('', locale_time.am_pm[0]): 379 elif ampm == locale_time.am_pm[1] [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
| _strptime.py | 41 am_pm -- AM/PM representation (2-item list) 104 # Set self.am_pm by using time.strftime(). 109 am_pm = [] 112 am_pm.append(time.strftime("%p", time_tuple).lower()) 113 self.am_pm = am_pm 130 (self.a_month[3], '%b'), (self.am_pm[1], '%p'), 211 'p': self.__seqToRE(self.locale_time.am_pm, 'p'), 373 if ampm in ('', locale_time.am_pm[0]): 379 elif ampm == locale_time.am_pm[1] [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| _strptime.py | 41 am_pm -- AM/PM representation (2-item list) 104 # Set self.am_pm by using time.strftime(). 109 am_pm = [] 112 am_pm.append(time.strftime("%p", time_tuple).lower()) 113 self.am_pm = am_pm 130 (self.a_month[3], '%b'), (self.am_pm[1], '%p'), 211 'p': self.__seqToRE(self.locale_time.am_pm, 'p'), 373 if ampm in ('', locale_time.am_pm[0]): 379 elif ampm == locale_time.am_pm[1] [all...] |
| /device/linaro/bootloader/edk2/StdLib/Include/sys/ |
| localedef.h | 90 const char *am_pm[2];
member in struct:__anon12047
|
| /device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
| nl_langinfo.c | 40 s = _CurrentTimeLocale->am_pm[(size_t)(item - AM_STR)];
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
| DebugUtilitiesData.java | 54 "AM_PM", /* 9 */ 135 android.icu.util.Calendar.AM_PM, /* 9 */
|
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
| DebugUtilitiesData.java | 50 "AM_PM", /* 9 */ 131 com.ibm.icu.util.Calendar.AM_PM, /* 9 */
|
| /external/v8/src/ |
| dateparser.cc | 133 {'a', 'm', '\0', DateParser::AM_PM, 0}, 134 {'p', 'm', '\0', DateParser::AM_PM, 12},
|
| /libcore/support/src/test/java/tests/support/ |
| Support_MessageFormat.java | 61 t_FormatWithField(2, format, objects, null, DateFormat.Field.AM_PM, 0, 105 v.add(new FieldContainer(27, 29, DateFormat.Field.AM_PM));
|
| /bionic/libc/tzcode/ |
| strptime.c | 53 const char *am_pm[2]; member in struct:__anon1423 311 len = strlen(_ctloc(am_pm[0])); 312 if (strncasecmp(_ctloc(am_pm[0]), (const char*)bp, len) == 0) { 322 len = strlen(_ctloc(am_pm[1])); 323 if (strncasecmp(_ctloc(am_pm[1]), (const char*)bp, len) == 0) {
|
| /external/icu/icu4c/source/i18n/unicode/ |
| dtitvinf.h | 139 * DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY, and MINUTE. 247 * DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY, and MINUTE. 350 * ERA, YEAR, MONTH, DAY, AM_PM, HOUR, and MINUTE 456 * AM_PM, HOUR, HOUR_OF_DAY, and MINUTE,
|
| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| DateIntervalFormat.java | 227 * // Only ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY, 658 } else if ( fromCalendar.get(Calendar.AM_PM) != 659 toCalendar.get(Calendar.AM_PM) ) { 660 field = Calendar.AM_PM; 719 } else if ( fromCalendar.get(Calendar.AM_PM) != 720 toCalendar.get(Calendar.AM_PM) ) { 721 field = Calendar.AM_PM; 737 boolean fromToOnSameDay = (field==Calendar.AM_PM || field==Calendar.HOUR || field==Calendar.MINUTE || field==Calendar.SECOND); [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| DateIntervalFormat.java | 226 * // Only ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY, 666 } else if ( fromCalendar.get(Calendar.AM_PM) != 667 toCalendar.get(Calendar.AM_PM) ) { 668 field = Calendar.AM_PM; 728 } else if ( fromCalendar.get(Calendar.AM_PM) != 729 toCalendar.get(Calendar.AM_PM) ) { 730 field = Calendar.AM_PM; 746 boolean fromToOnSameDay = (field==Calendar.AM_PM || field==Calendar.HOUR || field==Calendar.MINUTE || field==Calendar.SECOND); [all...] |
| /libcore/ojluni/src/main/java/java/util/ |
| GregorianCalendar.java | 233 * <code>AM_PM<br></code> 289 * System.out.println("AM_PM: " + calendar.get(Calendar.AM_PM)); 314 * System.out.println("AM_PM: " + calendar.get(Calendar.AM_PM)); 429 * AM_PM 0 0 1 1 450 AM, // AM_PM 469 PM, // AM_PM 488 PM, // AM_PM 706 // Set AM_PM and HOUR here to set their stamp values befor [all...] |
| /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
| SimpleDateFormatICU.java | 319 if (icuAttribute == DateFormat.Field.AM_PM) { 320 jdkAttribute = java.text.DateFormat.Field.AM_PM;
|