| /external/chromium/net/ftp/ |
| ftp_directory_listing_parser_unittest.h | 24 int year; member in struct:net::FtpDirectoryListingParserTest::SingleLineTestData 54 EXPECT_EQ(test_case.year, time_exploded.year); 65 mock_current_time_exploded.year = 1994;
|
| ftp_directory_listing_parser_windows.cc | 33 if (!base::StringToInt(date_parts[2], &time_exploded.year)) 35 if (time_exploded.year < 0) 37 // If year has only two digits then assume that 00-79 is 2000-2079, 39 if (time_exploded.year < 80) 40 time_exploded.year += 2000; 41 else if (time_exploded.year < 100) 42 time_exploded.year += 1900;
|
| /external/chromium_org/chrome/installer/util/ |
| google_update_experiment_util.h | 13 // current time plus one year.
|
| /external/chromium_org/components/autofill/core/browser/ |
| validation.h | 16 // Returns true if |year| and |month| describe a date later than |now|. 17 // |year| must have 4 digits. 18 bool IsValidCreditCardExpirationDate(const base::string16& year, 21 bool IsValidCreditCardExpirationDate(int year,
|
| /external/chromium_org/content/public/android/java/strings/translations/ |
| android_content_strings_en-GB.xtb | 4 <translation id="6015796118275082299">Year</translation>
|
| /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/net/ftp/ |
| ftp_directory_listing_parser_unittest.h | 23 int year; member in struct:net::FtpDirectoryListingParserTest::SingleLineTestData 53 EXPECT_EQ(test_case.year, time_exploded.year); 64 mock_current_time_exploded.year = 1994;
|
| /external/lzma/CPP/Windows/ |
| Time.h | 15 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
|
| /external/chromium_org/third_party/icu/source/i18n/ |
| indiancal.h | 54 * So When its a leap year in Gregorian calendar then Chaitra has 31 days. 57 * Years are counted in the Saka Era, which starts its year 0 in 78AD (by gregorian calendar). 77 * 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. [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...] |
| coptccal.h | 34 * the 1st month of the Coptic year. 40 * the 2nd month of the Coptic year. 46 * the 3rd month of the Coptic year. 52 * the 4th month of the Coptic year. 58 * the 5th month of the Coptic year. 64 * the 6th month of the Coptic year. 70 * the 7th month of the Coptic year. 76 * the 8th month of the Coptic year. 82 * the 9th month of the Coptic year. 88 * the 10th month of the Coptic year. [all...] |
| gregoimp.cpp | 85 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) { 87 int32_t y = year - 1; 91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom 96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, 103 // representation. We use 400-year, 100-year, and 4-year cycles. 104 // For example, the 4-year cycle has 4 years + 1 leap day; giving 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 107 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle lengt [all...] |
| coptccal.cpp | 62 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 64 // The year defaults to the epoch start, the era to CE 67 eyear = 1 - internalGet(UCAL_YEAR, 1); // Convert to extended year 69 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 78 int32_t eyear, month, day, era, year; local 83 year = 1 - eyear; 86 year = eyear; 91 internalSet(UCAL_YEAR, year); 169 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day) 171 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET) [all...] |
| /external/icu4c/i18n/ |
| indiancal.h | 54 * So When its a leap year in Gregorian calendar then Chaitra has 31 days. 57 * Years are counted in the Saka Era, which starts its year 0 in 78AD (by gregorian calendar). 77 * 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. [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...] |
| coptccal.h | 34 * the 1st month of the Coptic year. 40 * the 2nd month of the Coptic year. 46 * the 3rd month of the Coptic year. 52 * the 4th month of the Coptic year. 58 * the 5th month of the Coptic year. 64 * the 6th month of the Coptic year. 70 * the 7th month of the Coptic year. 76 * the 8th month of the Coptic year. 82 * the 9th month of the Coptic year. 88 * the 10th month of the Coptic year. [all...] |
| gregoimp.cpp | 85 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) { 87 int32_t y = year - 1; 91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom 96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, 103 // representation. We use 400-year, 100-year, and 4-year cycles. 104 // For example, the 4-year cycle has 4 years + 1 leap day; giving 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 107 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle lengt [all...] |
| /external/chromium_org/content/public/android/java/res/layout/ |
| two_field_date_picker.xml | 22 <!-- Position in year --> 34 <!-- Year --> 36 android:id="@+id/year"
|
| /frameworks/opt/calendar/src/com/android/calendarcommon2/ |
| RecurrenceProcessor.java | 432 int realYear = iterator.year; 441 + "/" + iterator.year + " day=" + day); 448 realYear = t.year; 454 + "/" + t.year); 471 + "/" + t.year 670 // them to year/month/day values in the local timezone. 685 // them to year/month/day values in the local timezone. 698 // for fast comparisons and that is easy to generate from year/month/day 801 freqField = Time.YEAR; 1144 int year = date.year; local [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/platform/ |
| DateComponents.cpp | 44 // HTML5 specification defines minimum week of year is one. 47 // HTML5 specification defines maximum week of year is 53. 56 static bool isLeapYear(int year) 58 if (year % 4) 60 if (!(year % 400)) 62 if (!(year % 100)) 68 static int maxDayOfMonth(int year, int month) 72 return isLeapYear(year) ? 29 : 28; 76 static int dayOfWeek(int year, int month, int day) 84 year-- 139 int year; local 192 int year = m_year; local 213 int year = m_year; local 592 int year = static_cast<int>(doubleYear); local [all...] |
| /libcore/luni/src/main/java/java/util/ |
| Date.java | 65 * @param year 66 * the year, 0 is 1900. 75 public Date(int year, int month, int day) { 77 cal.set(1900 + year, month, day); 85 * @param year 86 * the year, 0 is 1900. 99 public Date(int year, int month, int day, int hour, int minute) { 101 cal.set(1900 + year, month, day, hour, minute); 109 * @param year 110 * the year, 0 is 1900 387 int year = -1, month = -1, date = -1; local [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
| calendar.py | 97 def isleap(year): 99 return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0) 110 def weekday(year, month, day): 111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12), 113 return datetime.date(year, month, day).weekday() 116 def monthrange(year, month): 118 year, month.""" 121 day1 = weekday(year, month, 1 [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| calendar.py | 97 def isleap(year): 99 return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0) 110 def weekday(year, month, day): 111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12), 113 return datetime.date(year, month, day).weekday() 116 def monthrange(year, month): 118 year, month.""" 121 day1 = weekday(year, month, 1 [all...] |
| /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
| DatePickerDialog.java | 61 private static final String KEY_SELECTED_YEAR = "year"; 118 * @param year The year that was set. 123 void onDateSet(DatePickerDialog dialog, int year, int monthOfYear, int dayOfMonth); 141 * @param year The initial year of the dialog. 145 public static DatePickerDialog newInstance(OnDateSetListener callBack, int year, 149 ret.initialize(callBack, year, monthOfYear, dayOfMonth); 153 public void initialize(OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) { 155 mCalendar.set(Calendar.YEAR, year) 407 adjustDayInMonthIfNeeded(mCalendar.get(Calendar.MONTH), year); local [all...] |
| /bionic/libc/tzcode/ |
| asctime.c | 32 ** The ISO C 1999 and POSIX 1003.1-2004 standards prohibit padding the year, 41 ** For years that are more than four digits we put extra spaces before the year 43 ** a digit within a year and truncating the year (operating on the assumption 83 char year[INT_STRLEN_MAXIMUM(int) + 2]; local 97 ** Use strftime's %Y to generate the year, to avoid overflow problems 102 (void) strftime(year, sizeof year, "%Y", timeptr); 107 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), 111 year); local [all...] |