/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...] |
/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/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);
|
/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/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...] |
/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...] |
/external/apache-harmony/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/emailcommon/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/nist-sip/java/gov/nist/javax/sip/header/ |
SIPDate.java | 108 /** 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); [all...] |
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_unittest.h | 25 int month; member in struct:net::FtpDirectoryListingParserTest::SingleLineTestData 55 EXPECT_EQ(test_case.month, time_exploded.month); 66 mock_current_time_exploded.month = 11;
|
/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/webkit/Source/WebCore/html/ |
DateComponents.cpp | 67 // 'month' is 0-based. 68 static int maxDayOfMonth(int year, int month) 70 if (month != 1) // February? 71 return daysInMonth[month]; 75 // 'month' is 0-based. 76 static int dayOfWeek(int year, int month, int day) 78 int shiftedMonth = month + 2; 149 static bool withinHTMLDateLimits(int year, int month) 155 return month <= maximumMonthInMaximumYear; 158 static bool withinHTMLDateLimits(int year, int month, int monthDay 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...] |