/external/chromium_org/third_party/icu/source/test/cintltst/ |
ccaltst.h | 81 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day); 83 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
|
/external/icu4c/i18n/ |
cecal.h | 66 * Return JD of start of given month/extended year 104 * Convert an Coptic/Ethiopic year, month, and day to a Julian day. 106 * @param year the extended year 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 121 * @param year receives the extended year 127 int32_t& year, int32_t& month, int32_t& day);
|
hebrwcal.h | 38 * solar year (approximately 365.24 days) is not an even multiple of 41 * interesting, the start of a year can be delayed by up to three days 43 * to prevent certain illegal year lengths. Finally, the lengths of certain 44 * months can vary depending on the number of days in the year. 48 * not come at the end of the year, calculations involving 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.h | 35 * The Persian calendar is strictly solar, and thus a Persian year has twelve 36 * solar months. A Persian year is about 365 days long, except in leap 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. [all...] |
/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/javassist/sample/reflect/ |
Person.java | 30 public int getAge(int year) {
31 return year - birth;
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPDateTimeImpl.java | 32 private int year = 0; field in class:XMPDateTimeImpl 80 this.year = intCalendar.get(Calendar.YEAR); 102 this.year = calendar.get(Calendar.YEAR); 130 return year; 137 public void setYear(int year) 139 this.year = Math.min(Math.abs(year), 9999); 319 calendar.set(Calendar.YEAR, year) [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
YearPickerView.java | 75 for (int year = mController.getMinYear(); year <= mController.getMaxYear(); year++) { 76 years.add(String.format("%d", year)); 116 int year = getYearFromTextView(v); local 117 boolean selected = mController.getSelectedDay().year == year; 152 postSetSelectionCentered(mController.getSelectedDay().year - mController.getMinYear());
|
/external/chromium_org/v8/src/ |
date.js | 81 function TimeInYear(year) { 82 return DaysInYear(year) * msPerDay; 86 // Compute number of days given a year, month, date. 92 function MakeDay(year, month, date) { 93 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return $NaN; 96 year = TO_INTEGER_MAP_MINUS_ZERO(year); 100 if (year < kMinYear || year > kMaxYear || 105 // Now we rely on year and month being SMIs [all...] |
/external/v8/src/ |
date.js | 85 function TimeInYear(year) { 86 return DaysInYear(year) * msPerDay; 90 // Compute number of days given a year, month, date. 96 function MakeDay(year, month, date) { 97 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return $NaN; 100 year = TO_INTEGER_MAP_MINUS_ZERO(year); 104 if (year < kMinYear || year > kMaxYear || 109 // Now we rely on year and month being SMIs [all...] |
/external/chromium/chrome/browser/autofill/ |
credit_card.cc | 211 string16 year = Expiration2DigitYearAsString(); local 212 if (!month.empty() && !year.empty()) 213 return month + ASCIIToUTF16("/") + year; 219 string16 year = Expiration4DigitYearAsString(); local 220 if (!month.empty() && !year.empty()) 221 return month + ASCIIToUTF16("/") + year; 470 int year; local 471 if (!ConvertDate(text, &year)) 474 SetExpirationYear(year); 515 int year; local 523 int year; local [all...] |
/external/chromium_org/content/renderer/ |
renderer_date_time_picker.cc | 37 message.year = parser.GetWeekYear(); 40 message.year = parser.GetYear(); 69 value.year, value.month, value.day, 70 value.hour, value.minute, value.second, value.year, value.week);
|
/external/chromium_org/third_party/icu/source/i18n/ |
hebrwcal.h | 38 * solar year (approximately 365.24 days) is not an even multiple of 41 * interesting, the start of a year can be delayed by up to three days 43 * to prevent certain illegal year lengths. Finally, the lengths of certain 44 * months can vary depending on the number of days in the year. 48 * not come at the end of the year, calculations involving 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.h | 35 * The Persian calendar is strictly solar, and thus a Persian year has twelve 36 * solar months. A Persian year is about 365 days long, except in leap 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. [all...] |
ethpccal.cpp | 82 // Amelete Hihret year always. 85 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 88 - AMETE_MIHRET_DELTA; // Default to year 1 of Amelete Mihret 90 // The year defaults to the epoch start, the era to AMETE_MIHRET 93 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 104 int32_t eyear, month, day, era, year; local 109 year = eyear + AMETE_MIHRET_DELTA; 113 year = eyear; 116 year = eyear + AMETE_MIHRET_DELTA; 122 internalSet(UCAL_YEAR, year); [all...] |
/external/lzma/CPP/Windows/ |
Time.h | 15 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTime.java | 33 * fields (year, month, and day). 37 /** @return Returns the year, can be negative. */ 40 /** @param year Sets the year */ 41 void setYear(int year);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
DateTimeFieldsState.h | 65 unsigned year() const { return m_year; } function in class:WebCore::DateTimeFieldsState 85 void setYear(unsigned year) { m_year = year; }
|
/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) 59 tm.tm_year = year - 1900;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_strptime.py | 148 # 2005-01-03 occurs before the first Monday of the year. Otherwise 274 def _calc_julian_from_U_or_W(year, week_of_year, day_of_week, week_starts_Mon): 275 """Calculate the Julian day based on the year, week of the year, and day of 276 the week, with week_start_day representing whether the week of the year 278 first_weekday = datetime_date(year, 1, 1).weekday() 285 # Need to watch out for a week 0 (when the first day of the year is not 330 year = None 349 year = int(found_dict['y']) 353 if year <= 68 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_strptime.py | 148 # 2005-01-03 occurs before the first Monday of the year. Otherwise 274 def _calc_julian_from_U_or_W(year, week_of_year, day_of_week, week_starts_Mon): 275 """Calculate the Julian day based on the year, week of the year, and day of 276 the week, with week_start_day representing whether the week of the year 278 first_weekday = datetime_date(year, 1, 1).weekday() 285 # Need to watch out for a week 0 (when the first day of the year is not 330 year = None 349 year = int(found_dict['y']) 353 if year <= 68 [all...] |
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_unittest.cc | 74 mock_current_time_exploded.year = 1994; 114 int year, month, day_of_month, hour, minute; local 115 base::StringToInt(lines[8 * i + 3], &year); 138 EXPECT_EQ(year, time_exploded.year);
|
/external/chromium_org/net/ftp/ |
ftp_directory_listing_parser_unittest.cc | 34 mock_current_time_exploded.year = 1994; 75 int year, month, day_of_month, hour, minute; local 76 base::StringToInt(lines[9 * i + 3], &year); 99 EXPECT_EQ(year, time_exploded.year);
|
/external/chromium_org/third_party/lcov/bin/ |
updateversion.pl | 47 my ($sec, $min, $hour, $year, $month, $day); 51 ($sec, $min, $hour, $day, $month, $year) = localtime($stat[9]); 52 $year += 1900; 55 return (sprintf("%04d-%02d-%02d", $year, $month, $day), 56 sprintf("%04d%02d%02d%02d%02d.%02d", $year, $month, $day,
|
/external/chromium_org/components/autofill/core/browser/ |
validation.cc | 27 bool IsValidCreditCardExpirationDate(const base::string16& year, 31 TrimWhitespace(year, TRIM_ALL, &year_cleaned); 47 bool IsValidCreditCardExpirationDate(int year, 53 if (year < now_exploded.year) 56 if (year == now_exploded.year && month < now_exploded.month)
|