/external/grub/docs/ |
mdate-sh | 76 # 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=May; nummonth=5; [all...] |
/external/libffi/ |
mdate-sh | 85 # 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=May; nummonth=5; [all...] |
/ndk/sources/host-tools/make-3.81/config/ |
mdate-sh | 85 # 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=May; nummonth=5; [all...] |
/ndk/sources/host-tools/sed-4.2.1/build-aux/ |
mdate-sh | 88 # until we find a month. This cannot work with files whose owner is a 90 # will be owned by a user whose name is a month. So we first look at 97 # Find which argument is the month. 98 month= 100 until test $month 106 Jan) month=January; nummonth=1;; 107 Feb) month=February; nummonth=2;; 108 Mar) month=March; nummonth=3;; 109 Apr) month=April; nummonth=4;; 110 May) month=May; nummonth=5; [all...] |
/external/bison/build-aux/ |
mdate-sh | 104 # until we find a month. This cannot work with files whose owner is a 106 # will be owned by a user whose name is a month. So we first look at 113 # Find which argument is the month. 114 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; [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
hebrwcal.cpp | 42 { 0, 0, 12, 12}, // MONTH 90 * 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 190 * need to be changed. For example, when adding one to the {@link #MONTH MONTH} field 201 * of a <tt>HebrewCalendar</tt>. Since the {@link #MONTH MONTH} field behaves 219 // We can't just do a set(MONTH, get(MONTH) + amount). The 224 int32_t month = get(UCAL_MONTH, status) local 316 int32_t month = get(UCAL_MONTH, status); local 575 int32_t month = 0; local [all...] |
cecal.cpp | 22 { 0, 0, 12, 12}, // MONTH 110 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset) 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 [all...] |
indiancal.cpp | 62 { 0, 0, 11, 11}, // MONTH 106 * 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) 163 int32_t year, month, day; local [all...] |
islamcal.cpp | 149 { 0, 0, 11, 11}, // MONTH 204 * Return the day # on which the given month starts. Days are counted 208 * @param year The hijri month, 0-based 210 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { 212 return (int32_t)uprv_ceil(29.5*month) 215 return trueMonthStart(12*(year-1) + month); 220 * Find the day number on which a particular month of the true/lunar 223 * @param month The month in question, origin 0 from the Hijri epoch 225 * @return The day number on which the given month starts 343 int32_t month = 12*(extendedYear-1); local 394 int32_t year, month, dayOfMonth, dayOfYear; local [all...] |
/external/icu4c/i18n/ |
hebrwcal.cpp | 42 { 0, 0, 12, 12}, // MONTH 90 * 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 190 * need to be changed. For example, when adding one to the {@link #MONTH MONTH} field 201 * of a <tt>HebrewCalendar</tt>. Since the {@link #MONTH MONTH} field behaves 219 // We can't just do a set(MONTH, get(MONTH) + amount). The 224 int32_t month = get(UCAL_MONTH, status) local 316 int32_t month = get(UCAL_MONTH, status); local 575 int32_t month = 0; local [all...] |
cecal.cpp | 22 { 0, 0, 12, 12}, // MONTH 110 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset) 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 [all...] |
persncal.cpp | 38 { 0, 0, 11, 11}, // MONTH 124 * Return the day # on which the given month starts. Days are counted 128 * @param year The Persian month, 0-based 130 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { 131 return handleComputeMonthStart(year,month,TRUE); 139 * Return the length (in days) of the given month. 142 * @param year The Persian month, 0-based 144 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { 145 // If the month is out of range, adjust it into range, and 147 if (month < 0 || month > 11) 211 int32_t year, month, dayOfMonth, dayOfYear; local [all...] |
indiancal.cpp | 62 { 0, 0, 11, 11}, // MONTH 106 * 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) 163 int32_t year, month, day; local [all...] |
islamcal.cpp | 144 // a month as having 31 days. Since date parsing now uses range checks based 145 // on the table below, we need to change the range for last day of month to 152 { 0, 0, 11, 11}, // MONTH 207 * Return the day # on which the given month starts. Days are counted 211 * @param year The hijri month, 0-based 213 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { 215 return (int32_t)uprv_ceil(29.5*month) 218 return trueMonthStart(12*(year-1) + month); 223 * Find the day number on which a particular month of the true/lunar 226 * @param month The month in question, origin 0 from the Hijri epoc 346 int32_t month = 12*(extendedYear-1); local 397 int32_t year, month, dayOfMonth, dayOfYear; local [all...] |
/libcore/luni/src/main/java/java/util/ |
Grego.java | 66 * Return the number of days in the given month.
68 * @param month 0-based month, with 0==Jan
69 * @return the number of days in the given month
71 public static final int monthLength(int year, int month) {
72 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)];
76 * Return the length of a previous month of the Gregorian calendar.
78 * @param month 0-based month, with 0==Jan
79 * @return the number of days in the month previous to the given month 143 int month = (12 * (dayOfYear + correction) + 6) \/ 367; \/\/ zero-based month local [all...] |
/external/chromium_org/v8/test/cctest/ |
test-date.cc | 49 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) { 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) { 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 && start_day == day & [all...] |
/external/v8/test/cctest/ |
test-date.cc | 49 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) { 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) { 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 && start_day == day & [all...] |
/external/chromium_org/third_party/icu/source/test/compat/ |
tzone.pl | 8 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`;
|
/external/icu4c/test/compat/ |
tzone.pl | 8 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`;
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
Utils.java | 23 int month, int year, String timezone) { 25 t.set(second, minute, hour, monthDay, month, year);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
DateTimeChooserAndroid.java | 31 int year, int month, int day, int hour, int minute, int second, int week) { 34 year, month, day, hour, minute, second, week); 44 private void showDialog(int dialogType, int year, int month, int monthDay, 46 mInputDialogContainer.showDialog(dialogType, year, month, monthDay, 54 int year, int month, int day, 59 chooser.showDialog(dialogType, year, month, day, hour, minute, second, week, min, max); 74 int year, int month, int day, int hour, int minute, int second, int week);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
simpletz.h | 52 * 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 i [all...] |
/external/icu4c/i18n/unicode/ |
simpletz.h | 52 * 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 i [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
SimpleDate.java | 23 * Represents a date (year, month, day) 26 public int month; // MM field in class:SimpleDate 46 this.month = sCalendarInstance.get(Calendar.MONTH); 58 result = prime * result + month; 74 if (month != other.month) 87 int monthDiff = this.month - other.getMonth(); 100 return month;
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 90 String month = lexer.ttoken().toLowerCase(); local 91 if (month.equals("jan")) { 92 retval.set(Calendar.MONTH, Calendar.JANUARY); 93 } else if (month.equals("feb")) { 94 retval.set(Calendar.MONTH, Calendar.FEBRUARY); 95 } else if (month.equals("mar")) { 96 retval.set(Calendar.MONTH, Calendar.MARCH); 97 } else if (month.equals("apr")) { 98 retval.set(Calendar.MONTH, Calendar.APRIL); 99 } else if (month.equals("may")) [all...] |