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

1 2 3 4 5

  /external/icu/icu4c/source/test/perf/DateFmtPerf/
datedata.h 29 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)
  /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) + "-"
  /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();
  /external/icu/icu4c/source/i18n/
hebrwcal.cpp 69 * The lengths of the Hebrew months. This is complicated, because there
396 int32_t months = (235 * year - 234) / 19; // # of months before year local
398 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day #
399 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation
500 // Resolve out-of-range months. This is necessary in order to
569 double m = ((d * (double)DAY_PARTS)/ (double) MONTH_PARTS); // Months (approx)
637 // Resolve out-of-range months. This is necessary in order to
  /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...]
  /external/icu/icu4c/source/test/intltest/
tsdtfmsy.cpp 228 const UnicodeString *months = en.getMonths(count); local
229 fr.setMonths(months, count);
  /external/toybox/toys/pending/
crontab.c 49 char months[]={"jan""feb""mar""apr""may""jun""jul" local
51 char *field = (size == 12) ? months : days;
  /libcore/luni/src/main/java/javax/xml/datatype/
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...]
  /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...]
JapaneseChronology.java 66 import static java.time.temporal.ChronoUnit.MONTHS;
477 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); local
479 return date(y, 1, 1).plus(months, MONTHS).plus(days, DAYS);
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...]
HijrahDate.java 601 int months = (int) (totalMonths % 12); // safe local
602 return getChronology().period(Math.toIntExact(years), months, days);
  /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);
  /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...]
IslamicCalendar.java 31 * lunar months does not correspond to the solar year used by most other
39 * we treat days and months as beginning at midnight,
44 * and 30-day months, with a leap day added to the last month of 11 out of
826 int months = (int)Math.floor(days \/ CalendarAstronomer.SYNODIC_MONTH); local
    [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...]
IslamicCalendar.java 30 * lunar months does not correspond to the solar year used by most other
38 * we treat days and months as beginning at midnight,
43 * and 30-day months, with a leap day added to the last month of 11 out of
859 int months = (int)Math.floor(days \/ CalendarAstronomer.SYNODIC_MONTH); local
    [all...]
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
SafeRepresenter.java 335 int months = calendar.get(Calendar.MONTH) + 1; // 0..12 local
347 if (months < 10) {
350 buffer.append(String.valueOf(months));
  /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...]
  /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
  /external/emma/lib/internal/
stamptool.jar 
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
IntlTestDateFormatSymbols.java 158 final String[] months = en.getMonths(); local
159 fr.setMonths(months);
161 count = months.length;
167 if(! months[i].equals(months1[i])) {
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
IntlTestDateFormatSymbols.java 157 final String[] months = en.getMonths(); local
158 fr.setMonths(months);
160 count = months.length;
166 if(! months[i].equals(months1[i])) {

Completed in 650 milliseconds

1 2 3 4 5