Home
last modified time | relevance | path

Searched refs:month (Results 1 – 25 of 723) sorted by relevance

12345678910>>...29

/external/libmicrohttpd/doc/
Dmdate-sh114 month=
116 until test $month
123 Jan) month=January; nummonth=1;;
124 Feb) month=February; nummonth=2;;
125 Mar) month=March; nummonth=3;;
126 Apr) month=April; nummonth=4;;
127 May) month=May; nummonth=5;;
128 Jun) month=June; nummonth=6;;
129 Jul) month=July; nummonth=7;;
130 Aug) month=August; nummonth=8;;
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/
Dmdate-sh114 month=
116 until test $month
123 Jan) month=January; nummonth=1;;
124 Feb) month=February; nummonth=2;;
125 Mar) month=March; nummonth=3;;
126 Apr) month=April; nummonth=4;;
127 May) month=May; nummonth=5;;
128 Jun) month=June; nummonth=6;;
129 Jul) month=July; nummonth=7;;
130 Aug) month=August; nummonth=8;;
[all …]
/external/bison/build-aux/
Dmdate-sh114 month=
116 until test $month
123 Jan) month=January; nummonth=1;;
124 Feb) month=February; nummonth=2;;
125 Mar) month=March; nummonth=3;;
126 Apr) month=April; nummonth=4;;
127 May) month=May; nummonth=5;;
128 Jun) month=June; nummonth=6;;
129 Jul) month=July; nummonth=7;;
130 Aug) month=August; nummonth=8;;
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DHebrewCalendar.java363 public HebrewCalendar(int year, int month, int date) { in HebrewCalendar() argument
366 this.set(MONTH, month); in HebrewCalendar()
402 public HebrewCalendar(int year, int month, int date, int hour, in HebrewCalendar() argument
407 this.set(MONTH, month); in HebrewCalendar()
458 int month = get(MONTH); in add() local
462 acrossAdar1 = (month < ADAR_1); // started before ADAR_1? in add()
463 month += amount; in add()
465 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
466 ++month; in add()
468 if (month <= ELUL) { in add()
[all …]
DIndianCalendar.java256 public IndianCalendar(int year, int month, int date) { in IndianCalendar() argument
259 this.set(Calendar.MONTH, month); in IndianCalendar()
283 public IndianCalendar(int year, int month, int date, int hour, in IndianCalendar() argument
288 this.set(Calendar.MONTH, month); in IndianCalendar()
337 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument
338 if (month < 0 || month > 11) { in handleGetMonthLength()
340 extendedYear += floorDivide(month, 12, remainder); in handleGetMonthLength()
341 month = remainder[0]; in handleGetMonthLength()
344 if(isGregorianLeap(extendedYear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength()
348 if(month >= 1 && month <=5) { in handleGetMonthLength()
[all …]
DPersianCalendar.java223 public PersianCalendar(int year, int month, int date) in PersianCalendar() argument
227 this.set(Calendar.MONTH, month); in PersianCalendar()
251 public PersianCalendar(int year, int month, int date, int hour, in PersianCalendar() argument
256 this.set(Calendar.MONTH, month); in PersianCalendar()
332 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument
335 if (month < 0 || month > 11) { in handleGetMonthLength()
337 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength()
338 month = rem[0]; in handleGetMonthLength()
341 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength()
366 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { in handleComputeMonthStart() argument
[all …]
DIslamicCalendar.java285 public IslamicCalendar(int year, int month, int date) in IslamicCalendar() argument
289 this.set(Calendar.MONTH, month); in IslamicCalendar()
310 public IslamicCalendar(int year, int month, int date, int hour, in IslamicCalendar() argument
315 this.set(Calendar.MONTH, month); in IslamicCalendar()
612 private long monthStart(int year, int month) { in monthStart() argument
615 int realYear = year + month / 12; in monthStart()
616 int realMonth = month % 12; in monthStart()
627 for(int i=0; i< month; i++) { in monthStart()
643 private static final long trueMonthStart(long month) in trueMonthStart() argument
645 long start = cache.get(month); in trueMonthStart()
[all …]
DCECalendar.java129 protected CECalendar(int year, int month, int date) { in CECalendar() argument
131 this.set(year, month, date); in CECalendar()
157 protected CECalendar(int year, int month, int date, int hour, in CECalendar() argument
161 this.set(year, month, date, hour, minute, second); in CECalendar()
200 protected int handleGetMonthLength(int extendedYear, int month) in handleGetMonthLength() argument
208 if ((month + 1) % 13 != 0) in handleGetMonthLength()
233 public static int ceToJD(long year, int month, int day, int jdEpochOffset) { in ceToJD() argument
240 if ( month >= 0 ) { in ceToJD()
241 year += month/13; in ceToJD()
242 month %= 13; in ceToJD()
[all …]
DGregorianCalendar.java408 public GregorianCalendar(int year, int month, int date) { in GregorianCalendar() argument
412 set(MONTH, month); in GregorianCalendar()
430 public GregorianCalendar(int year, int month, int date, int hour, in GregorianCalendar() argument
435 set(MONTH, month); in GregorianCalendar()
457 public GregorianCalendar(int year, int month, int date, int hour, in GregorianCalendar() argument
462 set(MONTH, month); in GregorianCalendar()
723 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument
726 if (month < 0 || month > 11) { in handleGetMonthLength()
728 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength()
729 month = rem[0]; in handleGetMonthLength()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DHebrewCalendar.java343 public HebrewCalendar(int year, int month, int date) { in HebrewCalendar() argument
346 this.set(MONTH, month); in HebrewCalendar()
380 public HebrewCalendar(int year, int month, int date, int hour, in HebrewCalendar() argument
385 this.set(MONTH, month); in HebrewCalendar()
435 int month = get(MONTH); in add() local
439 acrossAdar1 = (month < ADAR_1); // started before ADAR_1? in add()
440 month += amount; in add()
442 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
443 ++month; in add()
445 if (month <= ELUL) { in add()
[all …]
DIndianCalendar.java234 public IndianCalendar(int year, int month, int date) { in IndianCalendar() argument
237 this.set(Calendar.MONTH, month); in IndianCalendar()
260 public IndianCalendar(int year, int month, int date, int hour, in IndianCalendar() argument
265 this.set(Calendar.MONTH, month); in IndianCalendar()
311 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument
312 if (month < 0 || month > 11) { in handleGetMonthLength()
314 extendedYear += floorDivide(month, 12, remainder); in handleGetMonthLength()
315 month = remainder[0]; in handleGetMonthLength()
318 if(isGregorianLeap(extendedYear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength()
322 if(month >= 1 && month <=5) { in handleGetMonthLength()
[all …]
DPersianCalendar.java225 public PersianCalendar(int year, int month, int date) in PersianCalendar() argument
229 this.set(Calendar.MONTH, month); in PersianCalendar()
253 public PersianCalendar(int year, int month, int date, int hour, in PersianCalendar() argument
258 this.set(Calendar.MONTH, month); in PersianCalendar()
334 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument
337 if (month < 0 || month > 11) { in handleGetMonthLength()
339 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength()
340 month = rem[0]; in handleGetMonthLength()
343 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength()
368 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { in handleComputeMonthStart() argument
[all …]
DIslamicCalendar.java260 public IslamicCalendar(int year, int month, int date) in IslamicCalendar() argument
264 this.set(Calendar.MONTH, month); in IslamicCalendar()
284 public IslamicCalendar(int year, int month, int date, int hour, in IslamicCalendar() argument
289 this.set(Calendar.MONTH, month); in IslamicCalendar()
585 private long monthStart(int year, int month) { in monthStart() argument
588 int realYear = year + month / 12; in monthStart()
589 int realMonth = month % 12; in monthStart()
600 for(int i=0; i< month; i++) { in monthStart()
616 private static final long trueMonthStart(long month) in trueMonthStart() argument
618 long start = cache.get(month); in trueMonthStart()
[all …]
DCECalendar.java130 protected CECalendar(int year, int month, int date) { in CECalendar() argument
132 this.set(year, month, date); in CECalendar()
158 protected CECalendar(int year, int month, int date, int hour, in CECalendar() argument
162 this.set(year, month, date, hour, minute, second); in CECalendar()
202 protected int handleGetMonthLength(int extendedYear, int month) in handleGetMonthLength() argument
210 if ((month + 1) % 13 != 0) in handleGetMonthLength()
236 public static int ceToJD(long year, int month, int day, int jdEpochOffset) { in ceToJD() argument
243 if ( month >= 0 ) { in ceToJD()
244 year += month/13; in ceToJD()
245 month %= 13; in ceToJD()
[all …]
DGregorianCalendar.java396 public GregorianCalendar(int year, int month, int date) { in GregorianCalendar() argument
400 set(MONTH, month); in GregorianCalendar()
417 public GregorianCalendar(int year, int month, int date, int hour, in GregorianCalendar() argument
422 set(MONTH, month); in GregorianCalendar()
443 public GregorianCalendar(int year, int month, int date, int hour, in GregorianCalendar() argument
448 set(MONTH, month); in GregorianCalendar()
700 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument
703 if (month < 0 || month > 11) { in handleGetMonthLength()
705 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength()
706 month = rem[0]; in handleGetMonthLength()
[all …]
/external/icu/icu4c/source/i18n/
Dhebrwcal.cpp227 int32_t month = get(UCAL_MONTH, status); in add() local
231 acrossAdar1 = (month < ADAR_1); // started before ADAR_1? in add()
232 month += amount; in add()
234 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
235 ++month; in add()
237 if (month <= ELUL) { in add()
240 month -= ELUL+1; in add()
245 acrossAdar1 = (month > ADAR_1); // started after ADAR_1? in add()
246 month += amount; in add()
248 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) { in add()
[all …]
Dislamcal.cpp393 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { in monthStart()
396 return (int32_t)uprv_ceil(29.5*month) in monthStart()
399 return trueMonthStart(12*(year-1) + month); in monthStart()
402 for(int i=0; i< month; i++){ in monthStart()
417 int32_t IslamicCalendar::trueMonthStart(int32_t month) const in trueMonthStart()
420 int32_t start = CalendarCache::get(&gMonthCache, month, status); in trueMonthStart()
425 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay; in trueMonthStart()
454 CalendarCache::put(&gMonthCache, month, start, status); in trueMonthStart()
509 int32_t IslamicCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
515 length = 29 + (month+1) % 2; in handleGetMonthLength()
[all …]
Dpersncal.cpp132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart()
133 return handleComputeMonthStart(year,month,TRUE); in monthStart()
146 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
149 if (month < 0 || month > 11) { in handleGetMonthLength()
150 extendedYear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
153 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month]; in handleGetMonthLength()
168 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) … in handleComputeMonthStart() argument
171 if (month < 0 || month > 11) { in handleComputeMonthStart()
172 eyear += ClockMath::floorDivide(month, 12, month); in handleComputeMonthStart()
177 if (month != 0) { in handleComputeMonthStart()
[all …]
Dindiancal.cpp112 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const { in handleGetMonthLength()
113 if (month < 0 || month > 11) { in handleGetMonthLength()
114 eyear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
117 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength()
121 if (month >= 1 && month <= 5) { in handleGetMonthLength()
143 static double gregorianToJD(int32_t year, int32_t month, int32_t date) { in gregorianToJD() argument
149 uprv_floor((((367 * month) - 362) / 12) + in gregorianToJD()
150 ((month <= 2) ? 0 : in gregorianToJD()
164 int32_t year, month, day; in jdToGregorian() local
183 month = (int32_t)uprv_floor((((yearday + leapadj) * 12) + 373) / 367); in jdToGregorian()
[all …]
/external/icu/icu4c/source/test/testdata/
Dcalendar.txt28 // "0/1/1912/june/4 == gregorian year=1912, ERA=AD, same month, same day
45 // [before minguo]2 1[month] 24[day] -> 1910-1-24
220 "MONTH=3", // month + 3
227 "MONTH=1", // month + 1
234 "MONTH=-1", // month - 1
237 { // month=3 is a leap month
241 "MONTH=3", // month + 3
244 { // month=3 is a leap month
248 "MONTH=2", // month + 2
251 { // month=3 is a leap month
[all …]
/external/python/cpython2/Demo/classes/
DDates.py73 def _days_in_month(month, year): # number of days in month of year argument
74 if month == 2 and _is_leap(year): return 29
75 return _DAYS_IN_MONTH[month-1]
77 def _days_before_month(month, year): # number of days in year before month argument
78 return _DAYS_BEFORE_MONTH[month-1] + (month > 2 and _is_leap(year))
82 _days_before_month(date.month, date.year) + \
92 del ans.ord, ans.month, ans.day, ans.year # un-initialize it
107 month = min(n//29 + 1, 12)
108 dbm = _days_before_month(month, year)
110 month = month - 1
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dtime.cc62 int64 SecondsPerMonth(int month, bool leap) { in SecondsPerMonth() argument
63 if (month == 2 && leap) { in SecondsPerMonth()
64 return kSecondsPerDay * (kDaysInMonth[month] + 1); in SecondsPerMonth()
66 return kSecondsPerDay * kDaysInMonth[month]; in SecondsPerMonth()
75 time.month < 1 || time.month > 12 || in ValidateDateTime()
82 if (time.month == 2 && IsLeapYear(time.year)) { in ValidateDateTime()
83 return time.month <= kDaysInMonth[time.month] + 1; in ValidateDateTime()
85 return time.month <= kDaysInMonth[time.month]; in ValidateDateTime()
114 assert(time.month >= 1 && time.month <= 12); in SecondsSinceCommonEra()
115 int month = time.month; in SecondsSinceCommonEra() local
[all …]
/external/python/cpython2/Demo/scripts/
Dunbirthday.py26 month = int(sys.argv[2])
28 month = int(raw_input('And in which month? (1-12) '))
29 if not (1 <= month <= 12):
30 print 'There is no month numbered', month
37 if month == 2 and calendar.isleap(year):
40 maxday = calendar.mdays[month]
45 bdaytuple = (year, month, day)
66 if bdaytuple < (y, month, day) <= todaytuple:
78 def format((year, month, day)): argument
79 return '%d %s %d' % (day, calendar.month_name[month], year)
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dsimpletz.h313 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
359 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
373 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
388 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
407 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
427 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
452 void setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
479 void setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
493 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status);
508 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time,
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/testdata/
Dtestdata_en.txt37 1 month ago
39 1 month from now
189 1 month
190 1 month and 2 weeks
191 1 month, 2 weeks, and 3 days
192 1 month ago
193 1 month and 2 weeks ago
194 1 month, 2 weeks, and 3 days ago
195 1 month from now
196 1 month and 2 weeks from now
[all …]

12345678910>>...29