/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...] |
/development/scripts/ |
aday | 10 month = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.index(letter) * 3 11 year = 2009 + (month / 12) 12 month %= 12 14 return datetime.date(year, month + 1, 1) + datetime.timedelta(days=day - 1)
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
HebrewCalendar.java | 25 * the lunar month (approximately 29.53 days) an extra "leap month" is 32 * The leap month is known as "Adar 1" and is inserted between the 33 * months of Shevat and Adar in leap years. Since the leap month does 35 * month numbers are particularly complex. Users of this class should 84 * Constant for Tishri, the 1st month of the Hebrew year. 89 * Constant for Heshvan, the 2nd month of the Hebrew year. 94 * Constant for Kislev, the 3rd month of the Hebrew year. 99 * Constant for Tevet, the 4th month of the Hebrew year. 104 * Constant for Shevat, the 5th month of the Hebrew year. 433 int month = get(MONTH); local 513 int month = get(MONTH); local 784 int month = 0; local [all...] |
PersianCalendar.java | 28 * and the final month is 29 days in non-leap years and 30 days in leap 29 * ones. Historically, the lengths of the month differed in different 89 // len length of month 90 // len2 length of month in a leap year 91 // st days in year before start of month 214 * @param month the value used to set the {@link #MONTH MONTH} time field in the calendar. 215 * Note that the month value is 0-based. e.g., 0 for Farvardin. 223 public PersianCalendar(int year, int month, int date 420 int year, month, dayOfMonth, dayOfYear; local [all...] |
CECalendar.java | 27 { 0, 0, 12, 12 }, // MONTH 123 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 128 protected CECalendar(int year, int month, int date) { 130 this.set(year, month, date); 149 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 156 protected CECalendar(int year, int month, int date, int hour [all...] |
IndianCalendar.java | 29 * Month Length Start date (Gregorian) 71 * Constant for Chaitra, the 1st month of the Indian year. 76 * Constant for Vaisakha, the 2nd month of the Indian year. 81 * Constant for Jyaistha, the 3rd month of the Indian year. 86 * Constant for Asadha, the 4th month of the Indian year. 91 * Constant for Sravana, the 5th month of the Indian year. 96 * Constant for Bhadra, the 6th month of the Indian year. 101 * Constant for Asvina, the 7th month of the Indian year. 106 * Constant for Kartika, the 8th month of the Indian year. 111 * Constant for Agrahayana, the 9th month of the Indian year. 501 int year, month, day; local [all...] |
SimpleDateRule.java | 24 * Construct a rule for a fixed date within a month 26 * @param month The month in which this rule occurs (0-based). 27 * @param dayOfMonth The date in that month (1-based). 30 public SimpleDateRule(int month, int dayOfMonth) 32 this.month = month; 38 /* package */SimpleDateRule(int month, int dayOfMonth, Calendar cal) 40 this.month = month; 220 private int month; field in class:SimpleDateRule [all...] |
DateTimeRule.java | 14 * a rule specified by month, day of month, day of week and 24 * Date rule type defined by exact day of month. 30 * Date rule type defined by day of week in month. 37 * after exact day of month. 44 * before exact day of month. 66 private final int month; field in class:DateTimeRule 75 * Constructs a <code>DateTimeRule</code> by the day of month and 79 * @param month The rule month, for example, <code>Calendar.JANUARY</code [all...] |
SimpleHoliday.java | 17 * A holiday whose date can be represented by a month, day, and optionally day of week 27 * @param month The month in which this holiday occurs (0-based) 28 * @param dayOfMonth The date within the month (1-based). 38 public SimpleHoliday(int month, int dayOfMonth, String name) 40 super(name, new SimpleDateRule(month, dayOfMonth)); 46 * @param month The month in which this holiday occurs (0-based) 47 * @param dayOfMonth The date within the month (1-based). 57 public SimpleHoliday(int month, int dayOfMonth, String name [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
HebrewCalendar.java | 24 * the lunar month (approximately 29.53 days) an extra "leap month" is 31 * The leap month is known as "Adar 1" and is inserted between the 32 * months of Shevat and Adar in leap years. Since the leap month does 34 * month numbers are particularly complex. Users of this class should 84 * Constant for Tishri, the 1st month of the Hebrew year. 90 * Constant for Heshvan, the 2nd month of the Hebrew year. 96 * Constant for Kislev, the 3rd month of the Hebrew year. 102 * Constant for Tevet, the 4th month of the Hebrew year. 108 * Constant for Shevat, the 5th month of the Hebrew year. 456 int month = get(MONTH); local 537 int month = get(MONTH); local 810 int month = 0; local [all...] |
PersianCalendar.java | 27 * and the final month is 29 days in non-leap years and 30 days in leap 28 * ones. Historically, the lengths of the month differed in different 87 // len length of month 88 // len2 length of month in a leap year 89 // st days in year before start of month 212 * @param month the value used to set the {@link #MONTH MONTH} time field in the calendar. 213 * Note that the month value is 0-based. e.g., 0 for Farvardin. 221 public PersianCalendar(int year, int month, int date 418 int year, month, dayOfMonth, dayOfYear; local [all...] |
CECalendar.java | 26 { 0, 0, 12, 12 }, // MONTH 122 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 127 protected CECalendar(int year, int month, int date) { 129 this.set(year, month, date); 148 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 155 protected CECalendar(int year, int month, int date, int hour [all...] |
IndianCalendar.java | 28 * Month Length Start date (Gregorian) 72 * Constant for Chaitra, the 1st month of the Indian year. 78 * Constant for Vaisakha, the 2nd month of the Indian year. 84 * Constant for Jyaistha, the 3rd month of the Indian year. 90 * Constant for Asadha, the 4th month of the Indian year. 96 * Constant for Sravana, the 5th month of the Indian year. 102 * Constant for Bhadra, the 6th month of the Indian year. 108 * Constant for Asvina, the 7th month of the Indian year. 114 * Constant for Kartika, the 8th month of the Indian year. 120 * Constant for Agrahayana, the 9th month of the Indian year. 530 int year, month, day; local [all...] |
SimpleDateRule.java | 23 * Construct a rule for a fixed date within a month 25 * @param month The month in which this rule occurs (0-based). 26 * @param dayOfMonth The date in that month (1-based). 30 public SimpleDateRule(int month, int dayOfMonth) 32 this.month = month; 38 /* package */SimpleDateRule(int month, int dayOfMonth, Calendar cal) 40 this.month = month; 226 private int month; field in class:SimpleDateRule [all...] |
DateTimeRule.java | 13 * a rule specified by month, day of month, day of week and 23 * Date rule type defined by exact day of month. 31 * Date rule type defined by day of week in month. 40 * after exact day of month. 49 * before exact day of month. 79 private final int month; field in class:DateTimeRule 88 * Constructs a <code>DateTimeRule</code> by the day of month and 92 * @param month The rule month, for example, <code>Calendar.JANUARY</code [all...] |
SimpleHoliday.java | 16 * A holiday whose date can be represented by a month, day, and optionally day of week 26 * @param month The month in which this holiday occurs (0-based) 27 * @param dayOfMonth The date within the month (1-based). 38 public SimpleHoliday(int month, int dayOfMonth, String name) 40 super(name, new SimpleDateRule(month, dayOfMonth)); 46 * @param month The month in which this holiday occurs (0-based) 47 * @param dayOfMonth The date within the month (1-based). 58 public SimpleHoliday(int month, int dayOfMonth, String name [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/libmicrohttpd/doc/ |
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/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 | 61 { 0, 0, 11, 11}, // MONTH 105 * Return the length (in days) of the given month. 108 * @param month The month(0-based) in Indian calendar 110 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const { 111 if (month < 0 || month > 11) { 112 eyear += ClockMath::floorDivide(month, 12, month); 115 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) 162 int32_t year, month, day; local [all...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
BaseCalendar.java | 152 public Date setNormalizedDate(int normalizedYear, int month, int dayOfMonth) { 154 setMonth(month).setDayOfMonth(dayOfMonth); 197 int month = bdate.getMonth(); local 198 if (month < JANUARY || month > DECEMBER) { 202 if (d <= 0 || d > getMonthLength(bdate.getNormalizedYear(), month)) { 276 long month = bdate.getMonth(); local 277 if (month <= 0) { 278 long xm = 1L - month; 280 month = 13 - (xm % 12) 324 int month = gdate.getMonth(); local 448 int month = 12 * priorDays + 373; local [all...] |
/external/v8/test/cctest/ |
test-date.cc | 48 int year, month, day; local 49 YearMonthDayFromDays(days, &year, &month, &day); 50 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec); 60 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) { 63 if (Match(&rules_[i], year, month, day, time_in_day_sec)) { 70 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) { 72 if (rule->start_month > month) return false; 73 if (rule->end_month < month) return false; 75 if (rule->start_month == month && start_day > day) return false; 76 if (rule->start_month == month && start_day == day & [all...] |
/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`;
|