/external/grub/docs/ |
H A D | 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 [all...] |
/external/libffi/ |
H A D | 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 [all...] |
/external/bison/build-aux/ |
H A D | 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 [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | hebrwcal.cpp | 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 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 D | cecal.cpp | 110 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 D | indiancal.cpp | 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) { 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 D | islamcal.cpp | 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. 227 int32_t IslamicCalendar::trueMonthStart(int32_t month) cons 343 int32_t month = 12*(extendedYear-1); local 356 handleComputeMonthStart(int32_t eyear, int32_t month, UBool ) const argument 394 int32_t year, month, dayOfMonth, dayOfYear; local [all...] |
H A D | cecal.h | 66 * 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...] |
/external/icu4c/i18n/ |
H A D | hebrwcal.cpp | 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 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 D | cecal.cpp | 110 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 D | persncal.cpp | 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 > 1 166 handleComputeMonthStart(int32_t eyear, int32_t month, UBool ) const argument 211 int32_t year, month, dayOfMonth, dayOfYear; local [all...] |
H A D | indiancal.cpp | 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) { 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 D | 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 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 i 346 int32_t month = 12*(extendedYear-1); local 359 handleComputeMonthStart(int32_t eyear, int32_t month, UBool ) const argument 397 int32_t year, month, dayOfMonth, dayOfYear; local [all...] |
H A D | cecal.h | 66 * 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...] |
/external/chromium_org/v8/test/cctest/ |
H A D | 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) { 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/v8/test/cctest/ |
H A D | 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) { 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/chromium_org/third_party/icu/source/test/compat/ |
H A D | 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/ |
H A D | 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/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
H A D | 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, argument 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); 51 createDateTimeChooser( ContentViewCore contentViewCore, int nativeDateTimeChooserAndroid, int dialogType, int year, int month, int day, int hour, int minute, int second, int week, double min, double max) argument 72 nativeReplaceDateTime(int nativeDateTimeChooserAndroid, int dialogType, int year, int month, int day, int hour, int minute, int second, int week) argument
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | 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 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/icu4c/i18n/unicode/ |
H A D | 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 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 884 setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, UErrorCode& status) argument 890 setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status) argument 896 setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, UBool after, UErrorCode& status) argument 902 setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, UErrorCode& status) argument 908 setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status) argument 913 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 D | HeaderParser.java | 90 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 D | Support_TimeZone.java | 47 * 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/chromium_org/v8/test/webkit/ |
H A D | date-constructor.js | 78 var month = { valueOf: function() { testStr += 2; return 2; } }; 86 new Date(year, month, date, hours, minutes, seconds, ms); 90 Date.UTC(year, month, date, hours, minutes, seconds, ms);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | XMPDateTimeImpl.java | 34 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...] |