Searched refs:month (Results 76 - 100 of 389) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DDateMath.cpp109 // 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) argument
270 return firstDayOfMonth[isLeapYear(year)][month] + day - 1;
273 double dateToDaysFrom1970(int year, int month, int day) argument
275 year += month / 12;
277 month %= 12;
278 if (month < 0) {
279 month += 12;
285 return yearday + dayInYear(year, month, day);
394 int month local
524 long month = -1; local
804 makeRFC2822DateString(unsigned dayOfWeek, unsigned day, unsigned month, unsigned year, unsigned hours, unsigned minutes, unsigned seconds, int utcOffset) argument
[all...]
/external/chromium_org/chrome/browser/ui/autofill/
H A Ddata_model_wrapper_unittest.cc26 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/third_party/icu/source/i18n/
H A Dsimpletz.cpp276 * 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)
307 setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UErrorCode& status) argument
322 setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, TimeMode mode, UErrorCode& status) argument
331 setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UBool after, UErrorCode& status) argument
359 setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UErrorCode& status) argument
374 setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, TimeMode mode, UErrorCode& status) argument
383 setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UBool after, UErrorCode& status) argument
393 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const argument
412 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t , UErrorCode& status) const argument
439 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, int32_t prevMonthLength, UErrorCode& status) const argument
516 int32_t year, month, dom, dow; local
569 compareToRule(int8_t month, int8_t monthLen, int8_t prevMonthLen, int8_t dayOfMonth, int8_t dayOfWeek, int32_t millis, int32_t millisDelta, EMode ruleMode, int8_t ruleMonth, int8_t ruleDayOfWeek, int8_t ruleDay, int32_t ruleMillis) argument
[all...]
H A Dvtzone.cpp190 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;
373 * month calculate
380 parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim, int32_t* dom, int32_t& domCount, UDate& until, UErrorCode& status) argument
539 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; local
765 isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) argument
815 int32_t month = -1, dom = 0, dow = 0; local
1184 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const argument
1190 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, UErrorCode& status) const argument
1939 int32_t year, month, dom, dow, doy, mid; local
2258 writeZonePropsByDOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t dayOfMonth, UDate startTime, UDate untilTime, UErrorCode& status) const argument
2292 writeZonePropsByDOW(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t weekInMonth, int32_t dayOfWeek, UDate startTime, UDate untilTime, UErrorCode& status) const argument
2328 writeZonePropsByDOW_GEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UDate startTime, UDate untilTime, UErrorCode& status) const argument
2405 writeZonePropsByDOW_GEQ_DOM_sub(VTZWriter& writer, int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t numDays, UDate untilTime, int32_t fromOffset, UErrorCode& status) const argument
2452 writeZonePropsByDOW_LEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UDate startTime, UDate untilTime, UErrorCode& status) const argument
2603 beginRRULE(VTZWriter& writer, int32_t month, UErrorCode& status) const argument
[all...]
H A Dgregocal.cpp220 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, argument
229 set(UCAL_MONTH, month);
235 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, argument
244 set(UCAL_MONTH, month);
252 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, argument
262 set(UCAL_MONTH, month);
367 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; local
381 month = getGregorianMonth();
409 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month
529 handleComputeMonthStart(int32_t eyear, int32_t month, UBool ) const argument
602 monthLength(int32_t month, int32_t year) const argument
[all...]
H A Dindiancal.h77 * Constant for Chaitra, the 1st month of the Indian year.
82 * Constant for Vaisakha, the 2nd month of the Indian year.
87 * Constant for Jyaistha, the 3rd month of the Indian year.
92 * Constant for Asadha, the 4th month of the Indian year.
97 * Constant for Sravana, the 5th month of the Indian year.
102 * Constant for Bhadra the 6th month of the Indian year
107 * Constant for the Asvina, the 7th month of the Indian year.
112 * Constant for Kartika, the 8th month of the Indian year.
117 * Constant for Agrahayana, the 9th month of the Indian year.
122 * Constant for Pausa, the 10th month o
[all...]
/external/icu/icu4c/source/i18n/
H A Dsimpletz.cpp276 * 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)
307 setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UErrorCode& status) argument
322 setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, TimeMode mode, UErrorCode& status) argument
331 setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UBool after, UErrorCode& status) argument
359 setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UErrorCode& status) argument
374 setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, TimeMode mode, UErrorCode& status) argument
383 setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UBool after, UErrorCode& status) argument
393 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const argument
412 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t , UErrorCode& status) const argument
439 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, int32_t prevMonthLength, UErrorCode& status) const argument
516 int32_t year, month, dom, dow; local
569 compareToRule(int8_t month, int8_t monthLen, int8_t prevMonthLen, int8_t dayOfMonth, int8_t dayOfWeek, int32_t millis, int32_t millisDelta, EMode ruleMode, int8_t ruleMonth, int8_t ruleDayOfWeek, int8_t ruleDay, int32_t ruleMillis) argument
[all...]
H A Dvtzone.cpp190 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;
373 * month calculate
380 parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim, int32_t* dom, int32_t& domCount, UDate& until, UErrorCode& status) argument
539 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; local
765 isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) argument
815 int32_t month = -1, dom = 0, dow = 0; local
1184 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const argument
1190 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, UErrorCode& status) const argument
1939 int32_t year, month, dom, dow, doy, mid; local
2258 writeZonePropsByDOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t dayOfMonth, UDate startTime, UDate untilTime, UErrorCode& status) const argument
2292 writeZonePropsByDOW(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t weekInMonth, int32_t dayOfWeek, UDate startTime, UDate untilTime, UErrorCode& status) const argument
2328 writeZonePropsByDOW_GEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UDate startTime, UDate untilTime, UErrorCode& status) const argument
2405 writeZonePropsByDOW_GEQ_DOM_sub(VTZWriter& writer, int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t numDays, UDate untilTime, int32_t fromOffset, UErrorCode& status) const argument
2452 writeZonePropsByDOW_LEQ_DOM(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UDate startTime, UDate untilTime, UErrorCode& status) const argument
2603 beginRRULE(VTZWriter& writer, int32_t month, UErrorCode& status) const argument
[all...]
H A Dgregocal.cpp220 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, argument
229 set(UCAL_MONTH, month);
235 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, argument
244 set(UCAL_MONTH, month);
252 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, argument
262 set(UCAL_MONTH, month);
367 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; local
381 month = getGregorianMonth();
409 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month
529 handleComputeMonthStart(int32_t eyear, int32_t month, UBool ) const argument
602 monthLength(int32_t month, int32_t year) const argument
[all...]
H A Dindiancal.h77 * Constant for Chaitra, the 1st month of the Indian year.
82 * Constant for Vaisakha, the 2nd month of the Indian year.
87 * Constant for Jyaistha, the 3rd month of the Indian year.
92 * Constant for Asadha, the 4th month of the Indian year.
97 * Constant for Sravana, the 5th month of the Indian year.
102 * Constant for Bhadra the 6th month of the Indian year
107 * Constant for the Asvina, the 7th month of the Indian year.
112 * Constant for Kartika, the 8th month of the Indian year.
117 * Constant for Agrahayana, the 9th month of the Indian year.
122 * Constant for Pausa, the 10th month o
[all...]
/external/chromium_org/v8/src/
H A Ddateparser.cc14 // 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/
H A Dgoogle_update_experiment_util.cc41 // 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/
H A Dcalcasts.h31 int32_t month; member in struct:CalendarCaseTest::TestCase
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/
H A DMonthPicker.java42 int month = (int) (value % 12);
45 cal.set(year, month, 1);
55 protected void setCurrentDate(int year, int month) { argument
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.
/external/chromium_org/v8/test/intl/date-format/
H A Dparse-mdyhms.js31 {year: 'numeric', month: 'numeric',
H A Dproperty-override.js47 'en-US', {weekday: 'short', era: 'short', year: 'numeric', month: 'short',
58 'minute', 'month', 'numberingSystem',
H A Dtimezone-name.js38 year: 'numeric', month: 'long', day: 'numeric',
/external/icu/icu4c/source/test/intltest/
H A Dcalcasts.h31 int32_t month; member in struct:CalendarCaseTest::TestCase
/external/markdown/markdown/extensions/
H A Drss.py27 month, date, year = heading.split()
28 month = month_map[month]
30 return rdftime(" ".join((month, date, year, "12:00:00 AM")))
/external/chromium_org/base/third_party/nspr/
H A Dprtime.cc144 gregorian_date.month = exploded->tm_month + 1;
225 * each month, where index 1 is January, and day 0 is January 1.
234 * The number of days in a month
381 /* Normalize month and year before mday */
391 /* Now that month and year are in proper range, normalize mday */
396 /* the previous month */
530 TIME_TOKEN month = TT_UNKNOWN; local
559 if (month == TT_UNKNOWN &&
562 month = TT_APR;
567 else if (month
[all...]
/external/chromium_org/chrome/browser/resources/net_internals/
H A Dcros_log_entry.js31 var month = timeTokens[1];
37 this.time = new Date(year, month, day, hour, minute,
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Dvtzone.h204 * @param month The reference date's month (0-based; 0 is January)
205 * @param day The reference date's day-in-month (1-based)
212 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
225 * @param month The reference date's month (0-based; 0 is January)
226 * @param day The reference date's day-in-month (1-based)
229 * @param monthLength The length of the given month in days.
234 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
388 int32_t month, int32_
[all...]
/external/icu/icu4c/source/i18n/unicode/
H A Dvtzone.h204 * @param month The reference date's month (0-based; 0 is January)
205 * @param day The reference date's day-in-month (1-based)
212 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
225 * @param month The reference date's month (0-based; 0 is January)
226 * @param day The reference date's day-in-month (1-based)
229 * @param monthLength The length of the given month in days.
234 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
388 int32_t month, int32_
[all...]
/external/chromium_org/components/autofill/core/browser/
H A Dcredit_card.cc59 bool ConvertMonth(const base::string16& month, argument
62 // If the |month| is empty, clear the stored value.
63 if (month.empty()) {
68 // Try parsing the |month| as a number.
69 if (base::StringToInt(month, num))
76 // Otherwise, try parsing the |month| as a named month, e.g. "January" or
78 base::string16 lowercased_month = base::StringToLowerASCII(month);
294 base::string16 month = ExpirationMonthAsString(); local
296 if (!month
302 base::string16 month = ExpirationMonthAsString(); local
407 int month; local
625 int month; local
[all...]
H A Dvalidation.cc20 const base::string16& month,
24 base::TrimWhitespace(month, base::TRIM_ALL, &month_cleaned);
40 int month,
48 if (year == now_exploded.year && month < now_exploded.month)
19 IsValidCreditCardExpirationDate(const base::string16& year, const base::string16& month, const base::Time& now) argument
39 IsValidCreditCardExpirationDate(int year, int month, const base::Time& now) argument

Completed in 2706 milliseconds

1234567891011>>