Searched refs:month (Results 1 - 25 of 275) sorted by relevance

1234567891011

/external/bison/build-aux/
H A Dmdate-sh85 # until we find a month. This cannot work with files whose owner is a
87 # will be owned by a user whose name is a month. So we first look at
94 # Find which argument is the month.
95 month=
97 until test $month
103 Jan) month=January; nummonth=1;;
104 Feb) month=February; nummonth=2;;
105 Mar) month=March; nummonth=3;;
106 Apr) month=April; nummonth=4;;
107 May) month
[all...]
/external/grub/docs/
H A Dmdate-sh76 # until we find a month. This cannot work with files whose owner is a
78 # will be owned by a user whose name is a month. So we first look at
85 # Find which argument is the month.
86 month=
88 until test $month
94 Jan) month=January; nummonth=1;;
95 Feb) month=February; nummonth=2;;
96 Mar) month=March; nummonth=3;;
97 Apr) month=April; nummonth=4;;
98 May) month
[all...]
/external/libffi/
H A Dmdate-sh85 # until we find a month. This cannot work with files whose owner is a
87 # will be owned by a user whose name is a month. So we first look at
94 # Find which argument is the month.
95 month=
97 until test $month
103 Jan) month=January; nummonth=1;;
104 Feb) month=February; nummonth=2;;
105 Mar) month=March; nummonth=3;;
106 Apr) month=April; nummonth=4;;
107 May) month
[all...]
/external/icu4c/i18n/
H A Dhebrwcal.cpp90 * The cumulative # of days to the end of each month in a non-leap year
114 * The cumulative # of days to the end of each month in a leap year
224 int32_t month = get(UCAL_MONTH, status); local
228 acrossAdar1 = (month < ADAR_1); // started before ADAR_1?
229 month += amount;
231 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) {
232 ++month;
234 if (month <= ELUL) {
237 month -= ELUL+1;
242 acrossAdar1 = (month > ADAR_
316 int32_t month = get(UCAL_MONTH, status); local
575 int32_t month = 0; local
625 handleComputeMonthStart(int32_t eyear, int32_t month, UBool ) const argument
[all...]
H A Dcecal.cpp110 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset) argument
112 // handle month > 12, < 0 (e.g. from add/set)
113 if ( month >= 0 ) {
114 year += month/13;
115 month %= 13;
117 ++month;
118 year += month/13 - 1;
119 month = month%13 + 12;
125 + 30 * month // numbe
131 jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day) argument
[all...]
H A Dindiancal.cpp106 * Return the length (in days) of the given month.
109 * @param month The month(0-based) in Indian calendar
111 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const {
112 if (month < 0 || month > 11) {
113 eyear += ClockMath::floorDivide(month, 12, month);
116 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) {
120 if (month >
142 gregorianToJD(int32_t year, int32_t month, int32_t date) argument
163 int32_t year, month, day; local
196 IndianToJD(int32_t year, int32_t month, int32_t date) argument
240 handleComputeMonthStart(int32_t eyear, int32_t month, UBool ) const argument
[all...]
H A Dislamcal.cpp145 // a month as having 31 days. Since date parsing now uses range checks based
146 // on the table below, we need to change the range for last day of month to
208 * Return the day # on which the given month starts. Days are counted
212 * @param year The hijri month, 0-based
214 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const {
216 return (int32_t)uprv_ceil(29.5*month)
219 return trueMonthStart(12*(year-1) + month);
224 * Find the day number on which a particular month of the true/lunar
227 * @param month The month i
347 int32_t month = 12*(extendedYear-1); local
360 handleComputeMonthStart(int32_t eyear, int32_t month, UBool ) const argument
398 int32_t year, month, dayOfMonth, dayOfYear; local
[all...]
H A Dcecal.h66 * Return JD of start of given month/extended year
69 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
104 * Convert an Coptic/Ethiopic year, month, and day to a Julian day.
107 * @param month the month
113 static int32_t ceToJD(int32_t year, int32_t month, int32_t date,
117 * Convert a Julian day to an Coptic/Ethiopic year, month and day
122 * @param month receives the month
127 int32_t& year, int32_t& month, int32_
[all...]
H A Dpersncal.cpp26 jalali_to_julian(int year, int month, int day) argument
32 month -= 1;
78 for (i = 0; i < month; i++) {
89 int year=0, month=0, day=0,scalarDays=0; local
165 month = i + 1;
170 *h_m = month;
248 // len length of month
249 // len2 length of month in a leap year
250 // st days in year before start of month
251 // st2 days in year before month i
315 handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const argument
[all...]
H A Dgregoimp.h145 * Return the number of days in the given month.
147 * @param month 0-based month, with 0==Jan
148 * @return the number of days in the given month
150 static inline int8_t monthLength(int32_t year, int32_t month);
153 * Return the length of a previous month of the Gregorian calendar.
155 * @param m the 0-based month number
156 * @return the number of days in the month previous to the given month
161 * Convert a year, month, an
264 monthLength(int32_t year, int32_t month) argument
273 dayToFields(double day, int32_t& year, int32_t& month, int32_t& dom, int32_t& dow) argument
[all...]
H A Dcoptccal.cpp78 int32_t eyear, month, day, era, year; local
79 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day);
92 internalSet(UCAL_MONTH, month);
94 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day);
169 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day)
171 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
/external/v8/test/cctest/
H A Dtest-date.cc49 int year, month, day; local
50 YearMonthDayFromDays(days, &year, &month, &day);
51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec);
61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) { argument
64 if (Match(&rules_[i], year, month, day, time_in_day_sec)) {
71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) { argument
73 if (rule->start_month > month) return false;
74 if (rule->end_month < month) return false;
76 if (rule->start_month == month && start_day > day) return false;
77 if (rule->start_month == month
89 ComputeRuleDay(int year, int month, int day) argument
102 TimeFromYearMonthDay(DateCache* date_cache, int year, int month, int day) argument
[all...]
/external/icu4c/test/compat/
H A Dtzone.pl8 print "Usage: tzone [year month day hour minute]\n";
19 my $month = 0;
26 ($year, $month, $day, $hour, $minute) = @ARGV;
27 print "The date we are using is: $month-$day-$year $hour:$minute.\n";
52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
H A Dtzdate.c32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime);
39 int year, month, day, hour, minute; local
44 sysyear = year = month = day = 0;
52 month = atoi(argv[2]);
61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime);
109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { argument
120 ts.tm_mon = month - OFFSET_MONTH;
/external/icu4c/i18n/unicode/
H A Dsimpletz.h52 * count from the end of the month backwards. For example, if Daylight Savings
53 * Time starts or ends at the last Sunday a month, use <code>dayOfWeekInMonth = -1</code>
140 * @param savingsStartMonth The daylight savings starting month. Month is
143 * day-of-week-in-month. See setStartRule() for a
149 * @param savingsEndMonth The daylight savings ending month. Month is
151 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month.
181 * @param savingsStartMonth The daylight savings starting month. Month is
184 * day-of-week-in-month. See setStartRule() for a
190 * @param savingsEndMonth The daylight savings ending month. Month is
192 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month
883 setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, UErrorCode& status) argument
889 setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status) argument
895 setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, UBool after, UErrorCode& status) argument
901 setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, UErrorCode& status) argument
907 setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status) argument
912 setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, UBool after, UErrorCode& status) argument
[all...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DHeaderParser.java90 String month = lexer.ttoken().toLowerCase();
91 if (month.equals("jan")) {
93 } else if (month.equals("feb")) {
95 } else if (month.equals("mar")) {
97 } else if (month.equals("apr")) {
99 } else if (month.equals("may")) {
101 } else if (month.equals("jun")) {
103 } else if (month.equals("jul")) {
105 } else if (month.equals("aug")) {
107 } else if (month
[all...]
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_TimeZone.java47 * let's assume this timezone has daylight savings from the 4th month till
48 * the 10th month of the year to ame things simple.
57 int month = cal.get(Calendar.MONTH);
59 if (month > 4 && month < 10) {
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPDateTimeImpl.java34 private int month = 0; field in class:XMPDateTimeImpl
81 this.month = intCalendar.get(Calendar.MONTH) + 1; // cal is from 0..12
103 this.month = calendar.get(Calendar.MONTH) + 1; // cal is from 0..12
148 return month;
155 public void setMonth(int month) argument
157 if (month < 1)
159 this.month = 1;
161 else if (month > 12)
163 this.month = 12;
167 this.month
[all...]
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/
H A Dshell.js259 * year-month-day mode: dt = new Date(2000, 5, 1, ...);
426 var month = MonthFromTime(t);
428 if ( month == 0 ) {
431 if ( month == 1 ) {
434 if ( month == 2 ) {
437 if ( month == 3 ) {
440 if ( month == 4 ) {
443 if ( month == 5 ) {
446 if ( month == 6 ) {
449 if ( month
[all...]
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/
H A Dshell.js375 var month = MonthFromTime(t);
377 if ( month == 0) {return ( day + 1 );}
378 if ( month == 1) {return ( day - 30 );}
379 if ( month == 2) {return ( day - 58 - InLeapYear(t) );}
380 if ( month == 3) {return ( day - 89 - InLeapYear(t));}
381 if ( month == 4) {return ( day - 119 - InLeapYear(t));}
382 if ( month == 5) {return ( day - 150 - InLeapYear(t));}
383 if ( month == 6) {return ( day - 180 - InLeapYear(t));}
384 if ( month == 7) {return ( day - 211 - InLeapYear(t));}
385 if ( month
[all...]
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DSIPDate.java108 /** month member
110 protected int month; field in class:SIPDate
141 this.month == other.month &&
154 month = -1;
202 month = javaCal.get(Calendar.MONTH);
203 switch (month) {
242 "No date map for month " + month);
322 /** get the month
[all...]
/external/icu4c/samples/translit/answers/
H A Dmain_1.cpp39 for (int32_t month = Calendar::JANUARY;
40 month <= Calendar::DECEMBER;
41 ++month) {
45 cal->set(1999, month, 4);
H A Dmain_2.cpp47 for (int32_t month = Calendar::JANUARY;
48 month <= Calendar::DECEMBER;
49 ++month) {
53 cal->set(1999, month, 4);
/external/v8/src/
H A Ddate.js90 // Compute number of days given a year, month, date.
91 // Note that month and date can lie outside the normal range.
96 function MakeDay(year, month, date) {
97 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return $NaN;
101 month = TO_INTEGER_MAP_MINUS_ZERO(month);
105 month < kMinMonth || month > kMaxMonth) {
109 // Now we rely on year and month being SMIs.
110 return %DateMakeDay(year, month)
[all...]
/external/webkit/Source/WebCore/html/
H A DDateComponents.cpp67 // 'month' is 0-based.
68 static int maxDayOfMonth(int year, int month) argument
70 if (month != 1) // February?
71 return daysInMonth[month];
75 // 'month' is 0-based.
76 static int dayOfWeek(int year, int month, int day) argument
78 int shiftedMonth = month + 2;
149 static bool withinHTMLDateLimits(int year, int month) argument
155 return month <= maximumMonthInMaximumYear;
158 static bool withinHTMLDateLimits(int year, int month, in argument
169 withinHTMLDateLimits(int year, int month, int monthDay, int hour, int minute, int second, int millisecond) argument
193 int month = m_month; local
212 int month = m_month; local
343 int month; local
598 int month = static_cast<int>(doubleMonth); local
[all...]

Completed in 595 milliseconds

1234567891011