/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 | 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 | 161 int32_t mask = (int32_t) (0x01 << (11 - m)); // set mask for bit corresponding to month 245 // a month as having 31 days. Since date parsing now uses range checks based 246 // on the table below, we need to change the range for last day of month to 317 * Return the day # on which the given month starts. Days are counted 321 * @param year The hijri month, 0-based 323 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { 325 return (int32_t)uprv_ceil(29.5*month) 328 return trueMonthStart(12*(year-1) + month); 331 for(int i=0; i< month; i++){ 339 * Find the day number on which a particular month o 466 int32_t month = 12*(extendedYear-1); local 484 handleComputeMonthStart(int32_t eyear, int32_t month, UBool ) const argument 522 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/icu/icu4c/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 582 int32_t month = 0; local 632 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 | 161 int32_t mask = (int32_t) (0x01 << (11 - m)); // set mask for bit corresponding to month 245 // a month as having 31 days. Since date parsing now uses range checks based 246 // on the table below, we need to change the range for last day of month to 317 * Return the day # on which the given month starts. Days are counted 321 * @param year The hijri month, 0-based 323 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { 325 return (int32_t)uprv_ceil(29.5*month) 328 return trueMonthStart(12*(year-1) + month); 331 for(int i=0; i< month; i++){ 339 * Find the day number on which a particular month o 466 int32_t month = 12*(extendedYear-1); local 484 handleComputeMonthStart(int32_t eyear, int32_t month, UBool ) const argument 522 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/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/icu/icu4c/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/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 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/icu/icu4c/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 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 | 46 * let's assume this timezone has daylight savings from the 4th month till 47 * the 10th month of the year to ame things simple. 56 int month = cal.get(Calendar.MONTH); 58 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...] |
/external/chromium_org/components/autofill/core/browser/ |
H A D | validation.h | 16 // Returns true if |year| and |month| describe a date later than |now|. 19 const base::string16& month, 22 int month,
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
H A D | datefuncs.py | 9 year, month, day = s.split("-") 13 year, month, day = int(year), int(month), int(day) 15 return createDateClass(year, month, day, hour, minute, second) 22 def createDateClass(year, month, day, hour, minute, second): 23 return datetime(year, month, day, hour, minute, second) 50 def createDateClass(year, month, day, hour, minute, second): 53 c.set(year, month-1, day, hour, minute, second)
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | 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); 322 /** get the month [all...] |
/external/chromium_org/third_party/icu/source/samples/translit/answers/ |
H A D | main_1.cpp | 39 for (int32_t month = Calendar::JANUARY; 40 month <= Calendar::DECEMBER; 41 ++month) { 45 cal->set(1999, month, 4);
|