/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);
|
main_3.cpp | 66 for (int32_t month = Calendar::JANUARY; 67 month <= Calendar::DECEMBER; 68 ++month) { 72 cal->set(1999, month, 4);
|
main_4.cpp | 70 for (int32_t month = Calendar::JANUARY; 71 month <= Calendar::DECEMBER; 72 ++month) { 76 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/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;
|
/external/icu4c/i18n/ |
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);
|
dtrule.cpp | 20 DateTimeRule::DateTimeRule(int32_t month, 24 : fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(0), fWeekInMonth(0), fMillisInDay(millisInDay), 28 DateTimeRule::DateTimeRule(int32_t month, 33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(millisInDay), 37 DateTimeRule::DateTimeRule(int32_t month, 44 fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(millisInDay),
|
islamcal.h | 42 * Each month of the calendar starts when the new moon's crescent is visible 50 * and 30-day months, with a leap day added to the last month of 11 out of 61 * start of a month in the religious calendar to differ from the civil calendar 66 * of a lunar month with a fairly high degree of certainty. However, these 73 * which approach is used to determine the start of a month. By default, the 104 * Constant for Muharram, the 1st month of the Islamic year. 110 * Constant for Safar, the 2nd month of the Islamic year. 116 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 122 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 128 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year. [all...] |
persncal.h | 40 * months are 30 days long. The last month is 29 days long in normal years, 59 * Constant for Farvardin, the 1st month of the Persian year. 65 * Constant for Ordibehesht, the 2nd month of the Persian year. 71 * Constant for Khordad, the 3rd month of the Persian year. 77 * Constant for Tir, the 4th month of the Persian year. 83 * Constant for Mordad, the 5th month of the Persian year. 89 * Constant for Shahrivar, the 6th month of the Persian year. 95 * Constant for Mehr, the 7th month of the Persian year. 101 * Constant for Aban, the 8th month of the Persian year. 107 * Constant for Azar, the 9th month of the Persian year. [all...] |
/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...] |
/cts/tests/tests/holo/src/android/holo/cts/modifiers/ |
CalendarViewModifier.java | 58 public static boolean isMonth(int month) { 60 return cal.get(Calendar.MONTH) == month;
|
/external/icu4c/test/cintltst/ |
ccaltst.h | 85 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day); 87 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.4.3.js | 26 var TITLE = "Date.UTC( year, month, date, hours, minutes, seconds, ms )"; 33 this.month = 0; 41 function utc( year, month, date, hours, minutes, seconds, ms ) { 45 if (month) 46 d.month = Number(month); 62 if (isNaN(month) || isNaN(year) || isNaN(date) || isNaN(hours) || 65 d.month = Number.NaN; 77 d.day = MakeDay( d.year, d.month, d.date ); 179 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ExpectDate.month, DateCase.getUTCMonth() ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ |
shell.js | 259 * year-month-day mode: dt = new Date(2000, 5, 1, ...); 279 ResultArray[MONTH] = MonthFromTime(t); 426 var month = MonthFromTime(t); 428 if ( month == 0 ) { 431 if ( month == 1 ) { 434 if ( month == 2 ) { 437 if ( month == 3 ) { 440 if ( month == 4 ) { 443 if ( month == 5 ) { 446 if ( month == 6 ) [all...] |
/external/webkit/Source/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...] |
/bionic/libc/private/ |
bionic_time.h | 40 const char * month[12]; member in struct:strftime_locale
|
/external/icu4c/samples/translit/ |
main.cpp | 72 for (int32_t month = Calendar::JANUARY; 73 month <= Calendar::DECEMBER; 74 ++month) { 78 cal->set(1999, month, 4);
|
/external/v8/src/ |
date.cc | 78 int days, int* year, int* month, int* day) { 81 // the same year and month as the cached 'days'. 87 *month = ymd_month_; 133 *month = i; 142 *month = 0; 145 *month = 1; 149 ASSERT(DaysFromYearMonth(*year, *month) + *day - 1 == save_days); 152 ymd_month_ = *month; 158 int DateCache::DaysFromYearMonth(int year, int month) { 164 year += month / 12 [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTime.java | 22 * <li> month - The month in the range 1..12. 23 * <li> day - The day of the month in the range 1..31. 33 * fields (year, month, and day). 43 /** @return Returns The month in the range 1..12. */ 46 /** @param month Sets the month 1..12 */ 47 void setMonth(int month); 49 /** @return Returns the day of the month in the range 1..31. */
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DatePickerController.java | 29 void onDayOfMonthSelected(int year, int month, int day);
|
/external/chromium/net/ftp/ |
ftp_util.cc | 138 // Loop over all abbreviated month names in given locale. 141 for (int32_t month = 0; month < months_count; month++) { 147 if (months[month].caseCompare(0, 3, unicode_text, 0) == 0) { 148 *number = month + 1; 158 bool FtpUtil::LsDateListingToTime(const string16& month, const string16& day, 164 if (!AbbreviatedMonthToNumber(month, &time_exploded.month)) 205 if (time_exploded.month > current_exploded.month | [all...] |
/external/icu4c/i18n/unicode/ |
dtrule.h | 24 * a rule specified by month, day of month, day of week and 37 DOM = 0, /**< The exact day of month, 43 DOW_LEQ_DOM /**< The last occurence of the day of week on or before the day of month, 58 * Constructs a <code>DateTimeRule</code> by the day of month and 62 * @param month The rule month, for example, <code>Calendar::JANUARY</code> 63 * @param dayOfMonth The day of month, 1-based. 69 DateTimeRule(int32_t month, int32_t dayOfMonth, 77 * @param month The rule month, for example, <code>Calendar::JANUARY</code> [all...] |
/frameworks/av/media/mtp/ |
MtpUtils.cpp | 30 representation, YYYY shall be replaced by the year, MM replaced by the month (01-12), 37 int year, month, day, hour, minute, second; local 41 &year, &month, &day, &hour, &minute, &second) != 6) 58 tm.tm_mon = month - 1; // mktime uses months in 0 - 11 range
|
/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)); 240 * @param month 380 int month = fields[MONTH] + value; local 485 int month = dayOfYear \/ 32; local 681 int month = fields[MONTH]; local 1048 int month = dayOfYear \/ 32; local [all...] |