Searched refs:months (Results 1 - 25 of 44) sorted by relevance

12

/external/icu/icu4c/source/test/perf/DateFmtPerf/
H A Ddatedata.h29 static int months[] = { variable
/external/ppp/pppd/plugins/radius/
H A Dutil.c27 static const char * months[] = variable
40 if (strncmp (months[i], valstr, 3) == 0)
/external/icu/icu4c/source/samples/cal/
H A Dcal.c68 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_COUN
375 free_months(UChar *months[]) argument
[all...]
/external/python/cpython2/Lib/
H A Dcalendar.py35 # Constants for months referenced later
89 # Full and abbreviated names of months (1-based arrays!!!)
224 value is a list of month rows. Each month row contains up to width months.
228 months = [
232 return [months[i:i+width] for i in range(0, len(months), width) ]
241 months = [
245 return [months[i:i+width] for i in range(0, len(months), width) ]
253 months
[all...]
/external/emma/lib/internal/
H A Dstamptool.jar ... Exception String labelInput StringBuffer result int ci char c int months
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
H A DTimestampTagTest.java95 int months = cal.get(Calendar.MONTH) + 1; // 0..12
101 String result = String.valueOf(years) + "-" + String.valueOf(months) + "-"
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DHebrewCalendar.java32 * 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
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 to
822 // Resolve out-of-range months
[all...]
H A DIslamicCalendar.java31 * 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
825 // Guess at the number of elapsed full months since the epoch
826 int months = (int)Math.floor(days / CalendarAstronomer.SYNODIC_MONTH);
828 monthStart = (long)Math.floor(months * CalendarAstronomer.SYNODIC_MONTH - 1);
832 months++;
837 while ((monthStart = trueMonthStart(months)) > days) {
839 months--;
842 year = months / 1
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DHebrewCalendar.java31 * 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
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 to
850 // Resolve out-of-range months
[all...]
H A DIslamicCalendar.java30 * 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
858 // Guess at the number of elapsed full months since the epoch
859 int months = (int)Math.floor(days / CalendarAstronomer.SYNODIC_MONTH);
861 monthStart = (long)Math.floor(months * CalendarAstronomer.SYNODIC_MONTH - 1);
865 months++;
870 while ((monthStart = trueMonthStart(months)) > days) {
872 months--;
875 year = months / 1
[all...]
/external/icu/icu4c/source/i18n/
H A Dislamcal.cpp56 // cache of months
395 // This does not handle months out of the range 0..11
561 // This may be called by Calendar::handleComputeJulianDay with months out of the range
562 // 0..11. Need to handle that here since monthStart requires months in the range 0.11.
622 // Guess at the number of elapsed full months since the epoch
623 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH);
625 startDate = (int32_t)uprv_floor(months * CalendarAstronomer::SYNODIC_MONTH);
634 months++;
639 while ((startDate = trueMonthStart(months)) > days) {
641 months
[all...]
H A Dhebrwcal.cpp69 * 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
637 // Resolve out-of-range months. This is necessary in order to
/external/libcxx/src/
H A Dlocale.cpp4571 static string months[24]; local
4572 months[0] = "January";
4573 months[1] = "February";
4574 months[2] = "March";
4575 months[3] = "April";
4576 months[4] = "May";
4577 months[5] = "June";
4578 months[6] = "July";
4579 months[7] = "August";
4580 months[
4603 static wstring months[24]; local
4635 static const string* months = init_months(); local
4643 static const wstring* months = init_wmonths(); local
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DDateFormatSymbols.java49 * months, the names of the days of the week, and the time zone data.
353 * of 13 strings (some calendars have 13 months), indexed by
357 String months[] = null; field in class:DateFormatSymbols
361 * 13 strings (some calendars have 13 months), indexed by
370 * 13 strings (some calendars have 13 months), indexed by
379 * of 13 strings (some calendars have 13 months), indexed by
387 * 13 strings (some calendars have 13 months), indexed by
396 * 13 strings (some calendars have 13 months), indexed by
761 return duplicate(months);
777 returnValue = months;
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDateFormatSymbols.java48 * months, the names of the days of the week, and the time zone data.
364 * of 13 strings (some calendars have 13 months), indexed by
368 String months[] = null; field in class:DateFormatSymbols
372 * 13 strings (some calendars have 13 months), indexed by
381 * 13 strings (some calendars have 13 months), indexed by
390 * of 13 strings (some calendars have 13 months), indexed by
398 * 13 strings (some calendars have 13 months), indexed by
407 * 13 strings (some calendars have 13 months), indexed by
777 return duplicate(months);
794 returnValue = months;
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
H A DICUDurationTest.java79 ICUTestDuration(int sgn, int y, int months, int d, int h, int m, float s) { argument
83 if (months >= 0) { fields.put(DatatypeConstants.MONTHS, months); }
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DICUDurationTest.java78 ICUTestDuration(int sgn, int y, int months, int d, int h, int m, float s) { argument
82 if (months >= 0) { fields.put(DatatypeConstants.MONTHS, months); }
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DIntlTestDateFormatSymbols.java158 final String[] months = en.getMonths();
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/
H A DIntlTestDateFormatSymbols.java157 final String[] months = en.getMonths();
158 fr.setMonths(months);
160 count = months.length;
166 if(! months[i].equals(months1[i])) {
/external/icu/icu4c/source/i18n/unicode/
H A Ddtfmtsym.h247 * @param months the new month strings. (not adopted; caller retains ownership)
251 void setMonths(const UnicodeString* months, int32_t count);
321 * @param months The new month strings. (not adopted; caller retains ownership)
327 void setMonths(const UnicodeString* months, int32_t count, DtContextType context, DtWidthType width);
/external/python/cpython2/Demo/pdist/
H A Dcvslib.py321 months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
324 for m in months:
/external/toybox/toys/pending/
H A Dcrontab.c49 char months[]={"jan""feb""mar""apr""may""jun""jul" local
51 char *field = (size == 12) ? months : days;
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
H A DSafeRepresenter.java335 int months = calendar.get(Calendar.MONTH) + 1; // 0..12
347 if (months < 10) {
350 buffer.append(String.valueOf(months));
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/
H A DAppleScript_Suite.py1186 class months(aetools.ComponentItem): class in inherits:aetools.ComponentItem
1187 """months - """
1190 month = months
1758 months._superclassnames = []
1759 months._privpropdict = {
1761 months._privelemdict = {
2124 'mnth' : months,
/external/icu/icu4c/source/test/intltest/
H A Dtsdtfmsy.cpp228 const UnicodeString *months = en.getMonths(count); local
229 fr.setMonths(months, count);

Completed in 816 milliseconds

12