/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.37-5.js | 95 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 104 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 122 this.month = 0; 139 d.month = MonthFromTime(t); 147 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 155 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 157 var DAY = MakeDay( YEAR, MONTH, DATE );
|
/external/clearsilver/cgi/ |
date.c | 33 * prefix.mon - numeric month 138 int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0, x; local 175 month = find_month(mname); 179 if((x = lms->tm_mon - month))
|
/external/icu4c/i18n/ |
basictz.cpp | 151 int32_t year, month, dom, dow, doy, mid; local 156 year, month, dom, dow, doy, mid); 157 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 159 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 175 year, month, dom, dow, doy, mid); 176 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 178 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 205 year, month, dom, dow, doy, mid); 206 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 207 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME) 450 int32_t year, month, dom, dow, doy, mid; local [all...] |
olsontz.cpp | 139 int32_t year, month, dom, dow; local 143 Grego::dayToFields(days, year, month, dom, dow); 145 year, month+1, dom, (millis/kOneHour), typeData[jj])); 273 int32_t OlsonTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, 276 if (month < UCAL_JANUARY || month > UCAL_DECEMBER) { 282 return getOffset(era, year, month, dom, dow, millis, 283 Grego::monthLength(year, month), 291 int32_t OlsonTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, 300 || month < UCAL_JANUAR 386 int32_t year, month, dom, dow; local 510 int32_t year, month, dom, dow; 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...] |
buddhcal.cpp | 79 int32_t BuddhistCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, 83 return GregorianCalendar::handleComputeMonthStart(eyear, month, useMonth);
|
/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...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
WeekNumberTest.java | 37 public DateAndWeekNumber(int year, int month, int day, int expectedWeekNumber) { 41 date.set(0, 0, 0, day, month, year); 44 allDayDate.set(day, month, year);
|
/dalvik/libcore/luni/src/main/java/java/util/ |
Calendar.java | 31 * {@code YEAR}, {@code MONTH}, {@code DAY}, 56 * fields, as well as their meaning. For example, the first month of the year 57 * has value {@code MONTH} == {@code JANUARY} for all calendars. 65 * {@code GregorianCalendar} interprets {@code MONTH} == 71 * values between 1 and the length of the month. 83 * the first week of the month or year as a reference point. The first week of a 84 * month or year is defined as the earliest seven day period beginning on 86 * {@code getMinimalDaysInFirstWeek()} days of that month or year. Weeks 96 * {@code Date} (such as only year and month but no day in the month), o [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
Util.java | 124 int year = -1, month = -1, date = -1; local 170 } else if (year == -1 && month != -1 && date != -1) 180 } else if (month == -1 && (month = parse(text, MONTHS)) != -1) { 191 if (year != -1 && month != -1 && date != -1) { 206 cal.set(Calendar.MONTH, month);
|
/external/openssl/crypto/ |
o_time.c | 170 short year, month, day, hour, minute, second, member in struct:vms_vectime 197 result->tm_mon = time_values.month - 1;
|
/external/bluetooth/glib/tests/ |
testgdateparser.c | 22 d->month,
|
/external/icu4c/test/intltest/ |
tzbdtest.h | 82 void verifyMapping(Calendar& cal, int year, int month, int dom, int hour,
|
/external/wpa_supplicant/ |
os_internal.c | 50 int os_mktime(int year, int month, int day, int hour, int min, int sec, 55 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 62 tm.tm_mon = month - 1;
|
os_unix.c | 45 int os_mktime(int year, int month, int day, int hour, int min, int sec, 52 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 59 tm.tm_mon = month - 1;
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
os_internal.c | 50 int os_mktime(int year, int month, int day, int hour, int min, int sec, 55 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 62 tm.tm_mon = month - 1;
|
os_unix.c | 45 int os_mktime(int year, int month, int day, int hour, int min, int sec, 52 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 59 tm.tm_mon = month - 1;
|
/external/stlport/src/c_locale_win32/ |
c_locale_win32.c | 200 char *month[12]; member in struct:_Locale_time 714 int size, month, dayofweek; local 732 for (month = LOCALE_SMONTHNAME1; month <= LOCALE_SMONTHNAME12; ++month) { /* Small hack :-) */ 733 size = GetLocaleInfoA(ltime->lc.id, month, NULL, 0); 734 ltime->month[month - LOCALE_SMONTHNAME1] = (char*)malloc(size); 735 if (!ltime->month[month - LOCALE_SMONTHNAME1] [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 101 private int month; field in class:DateTimeParser.Date 104 public Date(String year, int month, int day) { 106 this.month = month; 111 public int getMonth() { return month; } 205 m = month(); 218 final public int month() throws ParseException { method in class:DateTimeParser
|
/frameworks/base/media/libdrm/mobile1/src/jni/ |
drm1_jni.c | 38 #define DAY_PER_MONTH 30 /* Days per month */ 47 /** Accumulated number of days from 01-Jan up to start of current month. */ 304 * \param month the month (1 - 12) 314 uint32_t year, uint32_t month, uint32_t day, 324 && month > 0 && month <= 12 330 day += ydays[month - 1] + (month > 2 && leap (year)) - 1; 347 * <code>date = year * 10000 + month * 100 + day</code 355 int32_t year, month, day, hour, minute, second; local 398 int32_t year, month, day, hour, minute, second; local [all...] |
/external/v8/test/mjsunit/ |
date-parse.js | 76 // If the three first letters of the month is a 77 // month name we are happy - ignore the rest. 84 // Allow missing space between month and day. 87 // Allow year/month/day format. 89 // Allow month/day/year format. 91 // Allow month/day year format. 93 // Allow comma instead of space after day, month and year.
|
/external/webkit/SunSpider/tests/sunspider-0.9/ |
date-format-tofte.js | 71 // Day of the month, 2 digits with leading zeros 80 // A full textual representation of a month 114 // Day of the month without leading zeros 135 // Numeric representation of a month, with leading zeros 141 // A short textual representation of a month, three letters 145 // Numeric representation of a month, without leading zeros 167 // English ordinal suffix for the day of the month, 2 characters
|
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
date-format-tofte.js | 71 // Day of the month, 2 digits with leading zeros 80 // A full textual representation of a month 114 // Day of the month without leading zeros 135 // Numeric representation of a month, with leading zeros 141 // A short textual representation of a month, three letters 145 // Numeric representation of a month, without leading zeros 167 // English ordinal suffix for the day of the month, 2 characters
|
/packages/apps/Calendar/src/com/android/calendar/ |
MonthView.java | 96 // This Time object is used to set the time for the other Month view. 163 * The first Julian day of the current month. 234 mCursor = new DayOfMonthCursor(mViewCalendar.year, mViewCalendar.month, 290 // Switch to a different month 294 time.month += 1; 296 time.month -= 1; 444 // Get the date for the beginning of the month 615 // column are in a different month from the current one, then the 617 // of days in this month, but that is okay because the normalize() 618 // method will adjust the month (and year) if necessary 915 int month = mCursor.getMonth(); local [all...] |
/external/icu4c/i18n/unicode/ |
calendar.h | 54 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, 90 * <code>UDate</code> (such as only year and month but no day in the month), 98 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc. 109 * MONTH + DAY_OF_MONTH 110 * MONTH + WEEK_OF_MONTH + DAY_OF_WEEK 111 * MONTH + DAY_OF_WEEK_IN_MONTH + DAY_OF_WEEK 130 * month, day-of-month <em>and</em> day-of-week in some cases. 154 * month up in the date <code>December 12, <b>1996</b></code> results i [all...] |