/external/icu/icu4c/source/test/perf/DateFmtPerf/ |
datedata.h | 25 static int months[] = { variable
|
/external/ppp/pppd/plugins/radius/ |
util.c | 27 static const char * months[] = variable 40 if (strncmp (months[i], valstr, 3) == 0)
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
PickerConstant.java | 29 public final String[] months; field in class:PickerConstant 42 months = symbols.getShortMonths();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
PickerConstants.java | 31 public final String[] months; field in class:PickerConstants.Date 36 months = new DateFormatSymbols().getShortMonths();
|
DatePicker.java | 151 PickerColumn months = new PickerColumn(mConstant.months); local 159 ret.add(months);
|
/external/icu/icu4c/source/samples/cal/ |
cal.c | 64 UChar *months [], UBool useLongNames, 67 static void free_months(UChar *months[]); 79 UChar *days [], UChar *months [], 89 /* Number of months in a year (yes, 13) */ 92 /* Separation between months in year view */ 168 /* Adjust because months are 0-based */ 233 UChar *months [MONTH_COUNT]; local 253 print_year(c, days, months, useLongNames, fdow, status); 359 UChar *months [], 368 get_symbols(fmt, monthType, months, MONTH_COUNT - 1, 0, 0, status); /* some locales have 13 months, no idea why * [all...] |
/libcore/ojluni/src/main/java/java/text/ |
DateFormatSymbols.java | 61 * months, the names of the days of the week, and the time zone data. 152 * of 13 strings (some calendars have 13 months), indexed by 156 String months[] = null; field in class:DateFormatSymbols 160 * 13 strings (some calendars have 13 months), indexed by 485 return Arrays.copyOf(months, months.length); 493 months = Arrays.copyOf(newMonths, newMonths.length); 736 && Arrays.equals(months, that.months) 787 months = localeData.longMonthNames [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DatePicker.java | 116 String[] months = dfs.getShortMonths(); local 123 if (months[0].startsWith("1")) { 124 for (int i = 0; i < months.length; i++) { 125 months[i] = String.valueOf(i + 1); 132 mMonthPicker.setDisplayedValues(months); 190 reorderPickers(months); 205 private void reorderPickers(String[] months) { 216 if (months[0].startsWith("1")) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
SetDateTimeActivity.java | 65 String[] months = PickerConstants.getDateInstance(getResources()).months; local 66 int totalMonths = months.length; 68 if (months[i].equals(month)) {
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 123 String[] months = dfs.getShortMonths(); local 130 if (months[0].startsWith("1")) { 131 for (int i = 0; i < months.length; i++) { 132 months[i] = String.valueOf(i + 1); 139 mMonthPicker.setDisplayedValues(months); 205 // We use numeric spinners for year and day, but textual months. Ask icu4c what
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
calendar.py | 35 # Constants for months referenced later 89 # Full and abbreviated names of months (1-based arrays!!!) 223 value is a list of month rows. Each month row contains upto width months. 227 months = [ 231 return [months[i:i+width] for i in range(0, len(months), width) ] 240 months = [ 244 return [months[i:i+width] for i in range(0, len(months), width) ] 252 months = [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
calendar.py | 35 # Constants for months referenced later 89 # Full and abbreviated names of months (1-based arrays!!!) 223 value is a list of month rows. Each month row contains upto width months. 227 months = [ 231 return [months[i:i+width] for i in range(0, len(months), width) ] 240 months = [ 244 return [months[i:i+width] for i in range(0, len(months), width) ] 252 months = [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
calendar.py | 35 # Constants for months referenced later 89 # Full and abbreviated names of months (1-based arrays!!!) 223 value is a list of month rows. Each month row contains upto width months. 227 months = [ 231 return [months[i:i+width] for i in range(0, len(months), width) ] 240 months = [ 244 return [months[i:i+width] for i in range(0, len(months), width) ] 252 months = [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
calendar.py | 35 # Constants for months referenced later 89 # Full and abbreviated names of months (1-based arrays!!!) 223 value is a list of month rows. Each month row contains upto width months. 227 months = [ 231 return [months[i:i+width] for i in range(0, len(months), width) ] 240 months = [ 244 return [months[i:i+width] for i in range(0, len(months), width) ] 252 months = [all...] |
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/ |
jquery.timeago.js | 41 months: "%d months", 79 days < 365 && substitute($l.months, Math.floor(days / 30)) ||
|
/external/emma/lib/internal/ |
stamptool.jar | |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
TimestampTagTest.java | 95 int months = cal.get(Calendar.MONTH) + 1; // 0..12 local 101 String result = String.valueOf(years) + "-" + String.valueOf(months) + "-"
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 208 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 220 * @param months of this <code>Duration</code> 234 final BigInteger months, 242 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 249 * @param months of this <code>Duration</code> 262 * BigInteger months, 271 final int months, 280 // months may not be set 281 BigInteger realMonths = (months != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) months) : null [all...] |
Duration.java | 34 * which consists of six fields (years, months, days, hours, 159 boolean monthSet = isSet(DatatypeConstants.MONTHS); 234 * Obtains the value of the MONTHS field as an integer value, 238 * that this method works on the MONTHS field. 240 * @return Months of this <code>Duration</code>. 243 return getFieldValueAsInt(DatatypeConstants.MONTHS); 383 * In case of YEARS, MONTHS, DAYS, HOURS, and MINUTES, the returned 388 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS, 394 * For YEARS, MONTHS, DAYS, HOURS, and MINUTES, this method 406 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS 897 BigInteger months = (BigInteger) getField(DatatypeConstants.MONTHS); local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
HebrewCalendar.java | 22 * properties that distinguish it from the Gregorian. Months start 30 * months can vary depending on the number of days in the year. 33 * months of Shevat and Adar in leap years. Since the leap month does 43 * we treat days and months as beginning at midnight, 186 * The lengths of the Hebrew months. This is complicated, because there 585 int months = (235 * year - 234) / 19; // # of months before year local 587 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # 588 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation 691 // Resolve out-of-range months. This is necessary in order t [all...] |
IslamicCalendar.java | 29 * lunar months does not correspond to the solar year used by most other 37 * we treat days and months as beginning at midnight, 42 * and 30-day months, with a leap day added to the last month of 11 out of 813 int months = (int)Math.floor(days \/ CalendarAstronomer.SYNODIC_MONTH); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
HebrewCalendar.java | 21 * properties that distinguish it from the Gregorian. Months start 29 * months can vary depending on the number of days in the year. 32 * months of Shevat and Adar in leap years. Since the leap month does 42 * we treat days and months as beginning at midnight, 199 * The lengths of the Hebrew months. This is complicated, because there 609 int months = (235 * year - 234) / 19; // # of months before year local 611 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # 612 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation 716 // Resolve out-of-range months. This is necessary in order t [all...] |
IslamicCalendar.java | 28 * lunar months does not correspond to the solar year used by most other 36 * we treat days and months as beginning at midnight, 41 * and 30-day months, with a leap day added to the last month of 11 out of 841 int months = (int)Math.floor(days \/ CalendarAstronomer.SYNODIC_MONTH); local [all...] |
/external/icu/icu4c/source/i18n/ |
islamcal.cpp | 54 // cache of months 393 // This does not handle months out of the range 0..11 559 // This may be called by Calendar::handleComputeJulianDay with months out of the range 560 // 0..11. Need to handle that here since monthStart requires months in the range 0.11. 620 // Guess at the number of elapsed full months since the epoch 621 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); 623 startDate = (int32_t)uprv_floor(months * CalendarAstronomer::SYNODIC_MONTH); 632 months++; 637 while ((startDate = trueMonthStart(months)) > days) { 639 months-- [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DateFormatSymbols.java | 40 * months, the names of the days of the week, and the time zone data. 344 * of 13 strings (some calendars have 13 months), indexed by 348 String months[] = null; field in class:DateFormatSymbols 352 * 13 strings (some calendars have 13 months), indexed by 361 * 13 strings (some calendars have 13 months), indexed by 370 * of 13 strings (some calendars have 13 months), indexed by 378 * 13 strings (some calendars have 13 months), indexed by 387 * 13 strings (some calendars have 13 months), indexed by 703 return duplicate(months); 719 returnValue = months; [all...] |