/external/icu4c/i18n/ |
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...] |
chnsecal.cpp | 142 { 0, 0, 11, 11}, // MONTH 198 * extended year and month. 201 * whether or not the given month is a leap month. 204 int32_t ChineseCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { 205 int32_t thisStart = handleComputeMonthStart(extendedYear, month, TRUE) - 217 * <li>MONTH 275 * given month in the given extended year. 278 * whether the given month is a leap month 637 int32_t month = synodicMonthsBetween(firstMoon, thisMoon); local [all...] |
ethpccal.h | 42 * Constant for መስከረም, the 1st month of the Ethiopic year. 47 * Constant for ጥቅምት, the 2nd month of the Ethiopic year. 52 * Constant for ኅዳር, the 3rd month of the Ethiopic year. 57 * Constant for ታኅሣሥ, the 4th month of the Ethiopic year. 62 * Constant for ጥር, the 5th month of the Ethiopic year. 67 * Constant for የካቲት, the 6th month of the Ethiopic year. 72 * Constant for መጋቢት, the 7th month of the Ethiopic year. 77 * Constant for ሚያዝያ, the 8th month of the Ethiopic year. 82 * Constant for ግንቦት, the 9th month of the Ethiopic year. 87 * Constant for ሰኔ, the 10th month of the Ethiopic year. [all...] |
simpletz.cpp | 273 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday 274 * of the month). 276 * the day of week in the month counting backward from the end of the month. 277 * (e.g., (-1, MONDAY) is the last Monday in the month) 279 * specifies the day of the month, regardless of what day of the week it is. 280 * (e.g., (10, 0) is the tenth day of the month) 282 * specifies the day of the month counting backward from the end of the 283 * month, regardless of what day of the week it is (e.g., (-2, 0) is the 284 * next-to-last day of the month) 513 int32_t year, month, dom, dow; local [all...] |
vtzone.cpp | 75 // Month length for non-leap year 188 int32_t year, month, dom, dow, doy, mid; local 189 Grego::timeToFields(time, year, month, dom, dow, doy, mid); 193 appendAsciiDigits(month + 1, 2, str); 228 int32_t year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0; local 251 month = parseAsciiDigits(str, 4, 2, status) - 1; // 0-based 262 int32_t maxDayOfMonth = Grego::monthLength(year, month); 263 if (year < 0 || month < 0 || month > 11 || day < 1 || day > maxDayOfMonth || 276 UDate time = Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY 537 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; local 813 int32_t month = -1, dom = 0, dow = 0; local 1900 int32_t year, month, dom, dow, doy, mid; local [all...] |
hebrwcal.h | 39 * the lunar month (approximately 29.53 days) an extra "leap month" is 46 * The leap month is known as "Adar 1" and is inserted between the 47 * months of Shevat and Adar in leap years. Since the leap month does 49 * month numbers are particularly complex. Users of this class should 91 * Constant for Tishri, the 1st month of the Hebrew year. 95 * Constant for Heshvan, the 2nd month of the Hebrew year. 99 * Constant for Kislev, the 3rd month of the Hebrew year. 104 * Constant for Tevet, the 4th month of the Hebrew year. 109 * Constant for Shevat, the 5th month of the Hebrew year. [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...] |
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...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/ |
jsref.js | 385 var month = MonthFromTime(t); 387 if ( month == 0 ) { 390 if ( month == 1 ) { 393 if ( month == 2 ) { 396 if ( month == 3 ) { 399 if ( month == 4 ) { 402 if ( month == 5 ) { 405 if ( month == 6 ) { 408 if ( month == 7 ) { 411 if ( month == 8 ) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/ |
jsref.js | 345 var month = MonthFromTime(t); 347 if ( month == 0 ) { 350 if ( month == 1 ) { 353 if ( month == 2 ) { 356 if ( month == 3 ) { 359 if ( month == 4 ) { 362 if ( month == 5 ) { 365 if ( month == 6 ) { 368 if ( month == 7 ) { 371 if ( month == 8 ) [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...] |
/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;
|
/dalvik/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 85 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH = 88 * contiguous days in that month, ending on the day before 90 * month may be shorter than 7 days, need not start on 92 * previous month. Days of a month before week 1 have a 133 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 158 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 248 * @param month 390 int month = fields[MONTH] + value; local 487 int month = dayOfYear \/ 32; local 797 int month = fields[MONTH]; local 1190 int month = dayOfYear \/ 32; local [all...] |
SimpleTimeZone.java | 43 * {@code SimpleTimeZone} should count from the end of the month 142 * By default, this constructor specifies day-of-week-in-month rules. That 148 * Day of month: To specify an exact day of the month, such as March 1, set 151 * Day of week after day of month: To specify the first day of the week 152 * occurring on or after an exact day of the month, make the day of the week 157 * Day of week before day of month: To specify the last day of the week 158 * occurring on or before an exact day of the month, make the day of the 159 * week and the day of the month negative. For example, if {@code startDay} is {@code -21} 174 * the daylight savings starting month. The month indexing is 0-based. eg, [all...] |
Date.java | 68 * @param month 69 * the month, 0 - 11. 71 * the day of the month, 1 - 31. 77 public Date(int year, int month, int day) { 79 cal.set(1900 + year, month, day); 89 * @param month 90 * the month, 0 - 11. 92 * the day of the month, 1 - 31. 102 public Date(int year, int month, int day, int hour, int minute) { 104 cal.set(1900 + year, month, day, hour, minute) 389 int year = -1, month = -1, date = -1; local [all...] |
/external/icu4c/samples/translit/answers/ |
main_2.cpp | 47 for (int32_t month = Calendar::JANUARY; 48 month <= Calendar::DECEMBER; 49 ++month) { 53 cal->set(1999, month, 4);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
RecurrenceProcessor.java | 188 iterator.month + 1); 315 int realMonth = iterator.month; 321 + " " + iterator.month 326 // if might be past the end of the month, we need to normalize it 331 realMonth = t.month; 334 Log.i(TAG, "normalized t=" + t + " " + t.month 351 Log.i(TAG, "set t=" + t + " " + t.month 368 * Fill in a bit set containing the days of the month on which this 391 // calculate the day of week for the first of this month (first) 404 // This isn't ideal, but we'll generate a month's worth of event 769 int month = usebymonth local 999 int month = date.month; local [all...] |
/external/icu4c/test/compat/ |
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;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
DayOfMonthCursorTest.java | 58 // wrap over to previous column, same month 64 // wrap to previous month 88 // wrap to next column, same month 94 // next month 112 // up, same month 136 // down, same month 142 // down, next month
|
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
date.sgml | 23 can keep both a Julian and day-month-year representation of the date, 50 struct.</emphasis> Often only the day-month-year or only the Julian 144 month, and year. 149 @dmy: this is set if @day, @month and @year are valid 150 @day: the day of the day-month-year representation of the date, as 152 @month: the day of the day-month-year representation of the date, as 154 @year: the day of the day-month-year representation of the date 186 to mark a number as a day, month, or year. 190 @G_DATE_MONTH: a month [all...] |
/external/v8/src/ |
date.js | 142 // more than one daylight savings offset change per month. 283 // Compute modified Julian day from year, month, date. 284 function ToJulianDay(year, month, date) { 285 var jy = (month > 1) ? year : year - 1; 286 var jm = (month > 1) ? month + 2 : month + 14; 301 for (var month = 0; month < 12; month++) [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...] |
DateComponents.h | 42 // * Month type: year-month 43 // * Date type: year-month-day 46 // * DateTime or DateTimeLocal type: year-month-day hour-minute-second-millisecond 67 int month() const { return m_month; } function in class:WebCore::DateComponents 94 // Sets year and month. 96 // Sets year, month and monthDay. 102 // Sets year, month, monthDay, hour, minute, second and millisecond. 104 // Sets year, month, monthDay, hour, minute, second and millisecond, and adjusts timezone. 119 // For Month type. Updates m_year and m_month [all...] |
/external/icu4c/samples/cal/ |
cal.c | 43 static void cal(int32_t month, int32_t year, 115 int32_t month = -1, year = -1; local 152 /* Get the month and year to display, if specified */ 155 /* Month and year specified */ 157 sscanf(argv[optind], "%d", (int*)&month); 160 /* Make sure the month value is legal */ 161 if(month < 0 || month > 12) { 162 printf("icucal: Bad value for month -- %d\n", (int)month); [all...] |