/external/chromium_org/net/ftp/ |
ftp_directory_listing_parser_unittest.cc | 35 mock_current_time_exploded.month = 11; 75 int year, month, day_of_month, hour, minute; local 77 base::StringToInt(lines[9 * i + 4], &month); 100 EXPECT_EQ(month, time_exploded.month);
|
/external/chromium_org/third_party/icu/source/i18n/ |
japancal.cpp | 37 int8_t month; member in struct:__anon16717 40 // Year Month Day 329 int32_t month = 0; local 335 return kEraInfo[era].month-1; 338 return month; 341 int32_t JapaneseCalendar::getDefaultDayInMonth(int32_t eyear, int32_t month) 347 if(month == (kEraInfo[era].month-1)) { 389 // the binary search to handle the month/dom comparison. 412 diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year) [all...] |
simpletz.cpp | 276 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday 277 * of the month). 279 * the day of week in the month counting backward from the end of the month. 280 * (e.g., (-1, MONDAY) is the last Monday in the month) 282 * specifies the day of the month, regardless of what day of the week it is. 283 * (e.g., (10, 0) is the tenth day of the month) 285 * specifies the day of the month counting backward from the end of the 286 * month, regardless of what day of the week it is (e.g., (-2, 0) is the 287 * next-to-last day of the month) 516 int32_t year, month, dom, dow; local [all...] |
vtzone.cpp | 77 // Month length for non-leap year 190 int32_t year, month, dom, dow, doy, mid; local 191 Grego::timeToFields(time, year, month, dom, dow, doy, mid); 195 appendAsciiDigits(month + 1, 2, str); 230 int32_t year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0; local 253 month = parseAsciiDigits(str, 4, 2, status) - 1; // 0-based 264 int32_t maxDayOfMonth = Grego::monthLength(year, month); 265 if (year < 0 || month < 0 || month > 11 || day < 1 || day > maxDayOfMonth || 278 UDate time = Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY 539 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; local 815 int32_t month = -1, dom = 0, dow = 0; local 1939 int32_t year, month, dom, dow, doy, mid; local [all...] |
/external/icu/icu4c/source/i18n/ |
japancal.cpp | 37 int8_t month; member in struct:__anon26516 40 // Year Month Day 329 int32_t month = 0; local 335 return kEraInfo[era].month-1; 338 return month; 341 int32_t JapaneseCalendar::getDefaultDayInMonth(int32_t eyear, int32_t month) 347 if(month == (kEraInfo[era].month-1)) { 389 // the binary search to handle the month/dom comparison. 412 diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year) [all...] |
simpletz.cpp | 276 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday 277 * of the month). 279 * the day of week in the month counting backward from the end of the month. 280 * (e.g., (-1, MONDAY) is the last Monday in the month) 282 * specifies the day of the month, regardless of what day of the week it is. 283 * (e.g., (10, 0) is the tenth day of the month) 285 * specifies the day of the month counting backward from the end of the 286 * month, regardless of what day of the week it is (e.g., (-2, 0) is the 287 * next-to-last day of the month) 516 int32_t year, month, dom, dow; local [all...] |
vtzone.cpp | 77 // Month length for non-leap year 190 int32_t year, month, dom, dow, doy, mid; local 191 Grego::timeToFields(time, year, month, dom, dow, doy, mid); 195 appendAsciiDigits(month + 1, 2, str); 230 int32_t year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0; local 253 month = parseAsciiDigits(str, 4, 2, status) - 1; // 0-based 264 int32_t maxDayOfMonth = Grego::monthLength(year, month); 265 if (year < 0 || month < 0 || month > 11 || day < 1 || day > maxDayOfMonth || 278 UDate time = Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY 539 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; local 815 int32_t month = -1, dom = 0, dow = 0; local 1939 int32_t year, month, dom, dow, doy, mid; local [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
gregocal.h | 100 * cout << "MONTH: " << calendar->get( UCAL_MONTH, success ) << endl; 122 * cout << "MONTH: " << calendar->get( UCAL_MONTH, success ) << endl; 235 * @param month The value used to set the MONTH time field in the calendar. Month 242 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success); 249 * @param month The value used to set the MONTH time field in the calendar. Month 258 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, UErrorCode& success) [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
gregocal.h | 100 * cout << "MONTH: " << calendar->get( UCAL_MONTH, success ) << endl; 122 * cout << "MONTH: " << calendar->get( UCAL_MONTH, success ) << endl; 235 * @param month The value used to set the MONTH time field in the calendar. Month 242 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success); 249 * @param month The value used to set the MONTH time field in the calendar. Month 258 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, UErrorCode& success) [all...] |
/frameworks/base/core/java/android/app/ |
DatePickerDialog.java | 46 private static final String MONTH = "month"; 63 * @param monthOfYear The month that was set (0-11) for compatibility 65 * @param dayOfMonth The day of the month that was set. 74 * @param monthOfYear The initial month of the dialog. 100 * @param monthOfYear The initial month of the dialog. 124 public void onDateChanged(DatePicker view, int year, int month, int day) { 125 mDatePicker.init(year, month, day, this); 126 updateTitle(year, month, day); 157 * @param monthOfYear The date month 199 final int month = savedInstanceState.getInt(MONTH); local [all...] |
/frameworks/base/core/java/android/widget/ |
SimpleMonthAdapter.java | 112 final int diffMonth = mMaxDate.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); 152 final int minMonth = mMinDate.get(Calendar.MONTH); 155 final int month = currentMonth % 12; local 158 if (isSelectedDayInMonth(year, month)) { 169 if (minMonth == month && minYear == year) { 176 if (mMaxDate.get(Calendar.MONTH) == month && mMaxDate.get(Calendar.YEAR) == year) { 182 v.setMonthParams(selectedDay, month, year, mFirstDayOfWeek, 189 private boolean isSelectedDayInMonth(int year, int month) { [all...] |
/external/pdfium/fpdfsdk/src/ |
fsdk_baseannot.cpp | 30 FX_BYTE _gAfxGetMonthDays(FX_SHORT year, FX_BYTE month)
33 switch (month)
101 dt.month = newtime->tm_mon + 1;
121 dt.month = (FX_BYTE)st.wMonth;
145 int d1 = (((int)dt1.dt.year) << 16) | (((int)dt1.dt.month) << 8) | (int)dt1.dt.day;
147 int d3 = (((int)dt2.dt.year) << 16) | (((int)dt2.dt.month) << 8) | (int)dt2.dt.day;
159 int d1 = (((int)dt1.dt.year) << 16) | (((int)dt1.dt.month) << 8) | (int)dt1.dt.day;
161 int d3 = (((int)dt2.dt.year) << 16) | (((int)dt2.dt.month) << 8) | (int)dt2.dt.day;
173 int d1 = (((int)dt1.dt.year) << 16) | (((int)dt1.dt.month) << 8) | (int)dt1.dt.day;
175 int d3 = (((int)dt2.dt.year) << 16) | (((int)dt2.dt.month) << 8) | (int)dt2.dt.day; [all...] |
/libcore/luni/src/main/java/java/util/ |
Date.java | 37 * as the current month or day of week, or to construct a {@code Date} from a broken-down 67 * @param month 68 * the month, 0 - 11. 70 * the day of the month, 1 - 31. 75 public Date(int year, int month, int day) { 77 cal.set(1900 + year, month, day); 87 * @param month 88 * the month, 0 - 11. 90 * the day of the month, 1 - 31. 99 public Date(int year, int month, int day, int hour, int minute) 387 int year = -1, month = -1, date = -1; local [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 204 iterator.month + 1); 321 * Compute the day of the week for the first day of the month. "instance" has a 326 * (day of the month - 1) mod 7, and then make sure it's positive. We can simplify 341 * Generate a set according to the BYDAY rules. For each day of the month, determine 349 // For each month day, see if it's part of the set. (This makes some assumptions 433 int realMonth = iterator.month; 439 + " " + iterator.month 444 // if might be past the end of the month, we need to normalize it 449 realMonth = t.month; 452 Log.i(TAG, "normalized t=" + t + " " + t.month 892 int month = usebymonth local 1143 int month = date.month; local [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
DateMath.cpp | 109 // Day of year for the first day of each month, where index 0 is January, and day 0 is January 1. 268 int dayInYear(int year, int month, int day) 270 return firstDayOfMonth[isLeapYear(year)][month] + day - 1; 273 double dateToDaysFrom1970(int year, int month, int day) 275 year += month / 12; 277 month %= 12; 278 if (month < 0) { 279 month += 12; 285 return yearday + dayInYear(year, month, day); 394 int month = monthFromDayInYear(dayInYearLocal, leapYear) local 524 long month = -1; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_calendar.py | 58 <tr><th colspan="3" class="year">2004</th></tr><tr><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 59 <tr><th colspan="7" class="month">January</th></tr> 67 </td><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 68 <tr><th colspan="7" class="month">February</th></tr> 76 </td><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 77 <tr><th colspan="7" class="month">March</th></tr> 85 </td></tr><tr><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 86 <tr><th colspan="7" class="month">April</th></tr> 94 </td><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 95 <tr><th colspan="7" class="month">May</th></tr [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_calendar.py | 58 <tr><th colspan="3" class="year">2004</th></tr><tr><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 59 <tr><th colspan="7" class="month">January</th></tr> 67 </td><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 68 <tr><th colspan="7" class="month">February</th></tr> 76 </td><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 77 <tr><th colspan="7" class="month">March</th></tr> 85 </td></tr><tr><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 86 <tr><th colspan="7" class="month">April</th></tr> 94 </td><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 95 <tr><th colspan="7" class="month">May</th></tr [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
data_model_wrapper_unittest.cc | 26 for (int month = 1; month <= 12; ++month) { 27 card.SetRawInfo(CREDIT_CARD_EXP_MONTH, base::IntToString16(month)); 29 EXPECT_EQ(model.GetItemAt(month), 161 for (int month = 1; month <= 12; ++month) { 162 instrument->expiration_month_ = month; 164 EXPECT_EQ(model.GetItemAt(month), [all...] |
/external/chromium_org/v8/src/ |
dateparser.cc | 14 // Day and month defaults to 1. 20 int month = kNone; local 27 month = comp_[1]; 31 month = comp_[0]; 36 month = named_month_; 56 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; 59 output->set(MONTH, Smi::FromInt(month - 1)); // 0-based 149 // Word longer than keyword is only allowed for month names.
|
/external/chromium_org/chrome/installer/util/ |
google_update_experiment_util.cc | 41 // DD0 = 2 digit day of month, 42 // MON = 3 character month of year, 57 kMonths[then.month - 1],
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
calcasts.h | 31 int32_t month; member in struct:CalendarCaseTest::TestCase
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/ |
MonthPicker.java | 34 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), null); 42 int month = (int) (value % 12); local 45 cal.set(year, month, 1); 55 protected void setCurrentDate(int year, int month) { 57 date.set(year, month, 1); 71 // make sure the month names are a zero based array 72 // with the months in the month spinner 80 * @return The selected month. 83 return getCurrentDate().get(Calendar.MONTH); 105 return getMaxDate().get(Calendar.MONTH); [all...] |
/external/icu/icu4c/source/test/intltest/ |
calcasts.h | 31 int32_t month; member in struct:CalendarCaseTest::TestCase
|
/external/markdown/markdown/extensions/ |
rss.py | 27 month, date, year = heading.split() 28 month = month_map[month] 30 return rdftime(" ".join((month, date, year, "12:00:00 AM")))
|
/frameworks/base/core/java/android/util/ |
MonthDisplayHelper.java | 22 * Helps answer common questions that come up when displaying a month in a 32 // holds current month, year, helps compute display 43 * @param month The month. 46 public MonthDisplayHelper(int year, int month, int weekStartDay) { 55 mCalendar.set(Calendar.MONTH, month); 66 public MonthDisplayHelper(int year, int month) { 67 this(year, month, Calendar.SUNDAY); 76 return mCalendar.get(Calendar.MONTH); [all...] |