/external/bison/build-aux/ |
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...] |
/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...] |
/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...] |
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...] |
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_t& day) [all...] |
persncal.cpp | 26 jalali_to_julian(int year, int month, int day) 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; 212 { 0, 0, 11, 11}, // MONTH 248 // len length of month 249 // len2 length of month in a leap year 250 // st days in year before start of month [all...] |
gregoimp.h | 145 * 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, and day-of-month, given in the prolepti [all...] |
coptccal.cpp | 78 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);
|
dtrule.cpp | 18 DateTimeRule::DateTimeRule(int32_t month, 22 : fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(0), fWeekInMonth(0), fMillisInDay(millisInDay), 26 DateTimeRule::DateTimeRule(int32_t month, 31 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(millisInDay), 35 DateTimeRule::DateTimeRule(int32_t month, 42 fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(millisInDay),
|
/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`;
|
tzdate.c | 32 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) { 120 ts.tm_mon = month - OFFSET_MONTH;
|
/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...] |
/dalvik/libcore/support/src/test/java/tests/support/ |
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); local 59 if (month > 4 && month < 10) {
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 35 private final int month;
field in class:DateTime 42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) {
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
45 this.month = month;
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) {
71 c.set(year, month - 1, day, hour, minute, second);
91 return month;
|
/external/icu4c/samples/translit/answers/ |
main_1.cpp | 39 for (int32_t month = Calendar::JANUARY; 40 month <= Calendar::DECEMBER; 41 ++month) { 45 cal->set(1999, month, 4);
|
main_2.cpp | 47 for (int32_t month = Calendar::JANUARY; 48 month <= Calendar::DECEMBER; 49 ++month) { 53 cal->set(1999, month, 4);
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
drm_time.h | 46 uint16_t month; member in struct:__db_system_time_
|
/external/icu4c/test/cintltst/ |
ccaltst.h | 77 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day); 79 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.4.3.js | 26 var TITLE = "Date.UTC( year, month, date, hours, minutes, seconds, ms )"; 33 this.month = 0; 41 function utc( year, month, date, hours, minutes, seconds, ms ) { 45 if (month) 46 d.month = Number(month); 62 if (isNaN(month) || isNaN(year) || isNaN(date) || isNaN(hours) || 65 d.month = Number.NaN; 77 d.day = MakeDay( d.year, d.month, d.date ); 179 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ExpectDate.month, DateCase.getUTCMonth() ) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/ |
shell.js | 259 * year-month-day mode: dt = new Date(2000, 5, 1, ...); 279 ResultArray[MONTH] = MonthFromTime(t); 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 ) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
shell.js | 375 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 == 8) {return ( day - 242 - InLeapYear(t)); [all...] |
/external/webkit/WebCore/html/ |
DateComponents.cpp | 62 // 'month' is 0-based. 63 static int maxDayOfMonth(int year, int month) 65 if (month != 1) // February? 66 return daysInMonth[month]; 70 // 'month' is 0-based. 71 static int dayOfWeek(int year, int month, int day) 73 int shiftedMonth = month + 2; 145 static bool beforeGregorianStartDate(int year, int month, int monthDay) 148 || year == gregorianStartYear && month < gregorianStartMonth 149 || year == gregorianStartYear && month == gregorianStartMonth && monthDay < gregorianStartDay 160 int month = m_month; local 179 int month = m_month; local 297 int month; local 552 int month = static_cast<int>(doubleMonth); local [all...] |