HomeSort by relevance Sort by last modified time
    Searched refs:months (Results 1 - 25 of 136) sorted by null

1 2 3 4 5 6

  /external/icu/icu4c/source/test/perf/DateFmtPerf/
datedata.h 29 static int months[] = { variable
  /libcore/ojluni/src/main/java/java/time/
Period.java 65 import static java.time.temporal.ChronoUnit.MONTHS;
96 * such as '2 years, 3 months and 4 days'.
98 * This class models a quantity or amount of time in terms of years, months and days.
114 * {@link ChronoUnit#MONTHS MONTHS} and {@link ChronoUnit#DAYS DAYS}.
150 Collections.unmodifiableList(Arrays.<TemporalUnit>asList(YEARS, MONTHS, DAYS));
157 * The number of months.
159 private final int months; field in class:Period
170 * The months and days units will be zero.
180 * Obtains a {@code Period} representing a number of months
265 int months = 0; local
334 int months = parseNumber(text, monthMatch, negate); local
1070 int months = in.readInt(); local
    [all...]
Month.java 65 import static java.time.temporal.ChronoUnit.MONTHS;
85 * {@code Month} is an enum representing the 12 months of the year -
177 * {@code Month} is an enum representing the 12 months of the year.
389 * @param months the months to add, positive or negative
392 public Month plus(long months) {
393 int amount = (int) (months % 12);
398 * Returns the month-of-year that is the specified number of months before this one.
405 * @param months the months to subtract, positive or negativ
    [all...]
  /libcore/ojluni/src/main/java/java/time/chrono/
ChronoPeriodImpl.java 61 import static java.time.temporal.ChronoUnit.MONTHS;
109 Collections.unmodifiableList(Arrays.<TemporalUnit>asList(YEARS, MONTHS, DAYS));
120 * The number of months.
122 final int months; field in class:ChronoPeriodImpl
131 ChronoPeriodImpl(Chronology chrono, int years, int months, int days) {
135 this.months = months;
144 } else if (unit == ChronoUnit.MONTHS) {
145 return months;
166 return years == 0 && months == 0 && days == 0
396 int months = in.readInt(); local
    [all...]
IsoChronology.java 109 * <li>month-of-year - There are 12 months in an ISO year, numbered from 1 to 12.
111 * Months 4, 6, 9 and 11 have 30 days, Months 1, 3, 5, 7, 8, 10 and 12 have 31 days.
435 * the difference in months, then the difference in days.
452 * the difference in months, then the difference in weeks, then in days.
462 * years, months and weeks in {@code ALIGNED_DAY_OF_WEEK_IN_MONTH}.
464 * the years, months and weeks have been handled.
546 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); local
548 return LocalDate.of(y, 1, 1).plusMonths(months).plusDays(days);
571 * Obtains a period for this chronology based on years, months and days
    [all...]
AbstractChronology.java 78 import static java.time.temporal.ChronoUnit.MONTHS;
390 * then adding the difference in months, then the difference in days.
407 * the difference in months, then the difference in weeks, then in days.
417 * years, months and weeks in {@code ALIGNED_DAY_OF_WEEK_IN_MONTH}.
419 * the years, months and weeks have been handled.
554 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); local
556 return date(y, 1, 1).plus(months, MONTHS).plus(days, DAYS);
584 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); local
587 return date(y, 1, 1).plus(months, MONTHS).plus(weeks, WEEKS).plus(days, DAYS)
602 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); local
    [all...]
  /external/ppp/pppd/plugins/radius/
util.c 27 static const char * months[] = variable
40 if (strncmp (months[i], valstr, 3) == 0)
  /external/icu/icu4c/source/samples/cal/
cal.c 68 UChar *months [], UBool useLongNames,
71 static void free_months(UChar *months[]);
83 UChar *days [], UChar *months [],
93 /* Number of months in a year (yes, 13) */
96 /* Separation between months in year view */
172 /* Adjust because months are 0-based */
237 UChar *months [MONTH_COUNT]; local
257 print_year(c, days, months, useLongNames, fdow, status);
363 UChar *months [],
372 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.
154 * of 13 strings (some calendars have 13 months), indexed by
158 String months[] = null; field in class:DateFormatSymbols
162 * 13 strings (some calendars have 13 months), indexed by
461 return Arrays.copyOf(months, months.length);
469 months = Arrays.copyOf(newMonths, newMonths.length);
708 hashCode = 11 * hashCode + Arrays.hashCode(months);
731 && Arrays.equals(months, that.months)
    [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")) {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
PickerUtility.java 34 public final String[] months; field in class:PickerUtility.DateConstant
41 months = symbols.getShortMonths();
  /libcore/ojluni/src/test/java/time/tck/java/time/chrono/
CopticDate.java 265 case MONTHS: return plusMonths(amountToAdd);
281 private CopticDate plusMonths(long months) {
282 if (months == 0) {
286 long calcEm = Math.addExact(curEm, months);
323 int months = (int) (totalMonths % 13); // safe local
324 return Period.of(Math.toIntExact(years), months, days);
  /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
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
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 up to 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...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
calendar.py 35 # Constants for months referenced later
89 # Full and abbreviated names of months (1-based arrays!!!)
219 value is a list of month rows. Each month row contains upto width months.
223 months = [
227 return [months[i:i+width] for i in range(0, len(months), width) ]
236 months = [
240 return [months[i:i+width] for i in range(0, len(months), width) ]
248 months = [
    [all...]
  /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/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 24 * properties that distinguish it from the Gregorian. Months start
32 * months can vary depending on the number of days in the year.
35 * months of Shevat and Adar in leap years. Since the leap month does
45 * we treat days and months as beginning at midnight,
188 * The lengths of the Hebrew months. This is complicated, because there
587 int months = (235 * year - 234) / 19; // # of months before year local
589 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day #
590 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation
693 // Resolve out-of-range months. This is necessary in order t
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
HebrewCalendar.java 23 * properties that distinguish it from the Gregorian. Months start
31 * months can vary depending on the number of days in the year.
34 * months of Shevat and Adar in leap years. Since the leap month does
44 * we treat days and months as beginning at midnight,
201 * The lengths of the Hebrew months. This is complicated, because there
611 int months = (235 * year - 234) / 19; // # of months before year local
613 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day #
614 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation
718 // Resolve out-of-range months. This is necessary in order t
    [all...]

Completed in 1363 milliseconds

1 2 3 4 5 6