/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...] |
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 | 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 253 { 0, 0, 11, 11}, // MONTH 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++) 466 int32_t month = 12*(extendedYear-1); local 522 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...] |
/external/icu/icu4c/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 582 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 | 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 253 { 0, 0, 11, 11}, // MONTH 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++) 466 int32_t month = 12*(extendedYear-1); local 522 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...] |
/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/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/icu/icu4c/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`;
|
/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/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/icu/icu4c/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...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
SimpleDate.java | 26 * Represents a date (year, month, day) 30 public int month; // MM field in class:SimpleDate 50 this.month = sCalendarInstance.get(Calendar.MONTH); 63 result = prime * result + month; 83 if (month != other.month) { 98 int monthDiff = this.month - other.getMonth(); 112 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...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
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); local 58 if (month > 4 && month < 10) {
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
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) 157 if (month < 1) 159 this.month = 1; 161 else if (month > 12 [all...] |