| /external/chromium_org/third_party/icu/source/i18n/ |
| taiwncal.h | 36 * except for the year and era. Years are numbered since 1912 AD (Gregorian), 133 * Return the extended year defined by the current fields. This will 134 * use the UCAL_EXTENDED_YEAR field or the UCAL_YEAR and supra-year fields (such 137 * @return the extended year 170 * Returns the year in which the default century begins 179 * indicate an uninitialized state. Once the system default century date and year 200 * Returns the beginning date of the 100-year window that dates 206 * Returns the first year of the 100-year window that dates with 212 * Initializes the 100-year window that dates with 2-digit year [all...] |
| cecal.cpp | 21 { 1, 1, 5000000, 5000000}, // YEAR 110 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset) 114 year += month/13; 118 year += month/13 - 1; 123 + 365 * year // number of days from years 124 + ClockMath::floorDivide(year, 4) // extra day of leap year 131 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day) 133 int32_t c4; // number of 4 year cycle (1461 days) 134 int32_t r4; // remainder of 4 year cycle, always positiv [all...] |
| islamcal.cpp | 148 { 1, 1, 5000000, 5000000}, // YEAR 184 * Determine whether a year is a leap year in the Islamic civil calendar 186 UBool IslamicCalendar::civilLeapYear(int32_t year) 188 return (14 + 11 * year) % 30 < 11; 192 * Return the day # on which the given year starts. Days are counted 195 int32_t IslamicCalendar::yearStart(int32_t year) { 197 return (year-1)*354 + ClockMath::floorDivide((3+11*year),30); 199 return trueMonthStart(12*(year-1)) 368 int32_t year; local 394 int32_t year, month, dayOfMonth, dayOfYear; local [all...] |
| islamcal.h | 36 * The Islamic calendar is strictly lunar, and thus an Islamic year of twelve 37 * lunar months does not correspond to the solar year used by most other 38 * calendar systems, including the Gregorian. An Islamic year is, on average, 39 * about 354 days long, so each successive Islamic year starts about 11 days 40 * earlier in the corresponding Gregorian year. 104 * Constant for Muharram, the 1st month of the Islamic year. 110 * Constant for Safar, the 2nd month of the Islamic year. 116 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 122 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 128 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year. [all...] |
| /external/chromium_org/third_party/icu/source/tools/tzcode/ |
| asctime.c | 38 ** The ISO C 1999 and POSIX 1003.1-2004 standards prohibit padding the year, 47 ** For years that are more than four digits we put extra spaces before the year 49 ** a digit within a year and truncating the year (operating on the assumption 91 char year[INT_STRLEN_MAXIMUM(int) + 2]; local 101 ** Use strftime's %Y to generate the year, to avoid overflow problems 106 (void) strftime(year, sizeof year, "%Y", timeptr); 111 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), 115 year); local [all...] |
| /external/icu4c/i18n/ |
| 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...] |
| taiwncal.h | 36 * except for the year and era. Years are numbered since 1912 AD (Gregorian), 133 * Return the extended year defined by the current fields. This will 134 * use the UCAL_EXTENDED_YEAR field or the UCAL_YEAR and supra-year fields (such 137 * @return the extended year 170 * Returns the year in which the default century begins 179 * indicate an uninitialized state. Once the system default century date and year 200 * Returns the beginning date of the 100-year window that dates 206 * Returns the first year of the 100-year window that dates with 212 * Initializes the 100-year window that dates with 2-digit year [all...] |
| cecal.cpp | 21 { 1, 1, 5000000, 5000000}, // YEAR 110 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset) 114 year += month/13; 118 year += month/13 - 1; 123 + 365 * year // number of days from years 124 + ClockMath::floorDivide(year, 4) // extra day of leap year 131 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day) 133 int32_t c4; // number of 4 year cycle (1461 days) 134 int32_t r4; // remainder of 4 year cycle, always positiv [all...] |
| islamcal.cpp | 151 { 1, 1, 5000000, 5000000}, // YEAR 187 * Determine whether a year is a leap year in the Islamic civil calendar 189 UBool IslamicCalendar::civilLeapYear(int32_t year) 191 return (14 + 11 * year) % 30 < 11; 195 * Return the day # on which the given year starts. Days are counted 198 int32_t IslamicCalendar::yearStart(int32_t year) { 200 return (year-1)*354 + ClockMath::floorDivide((3+11*year),30); 202 return trueMonthStart(12*(year-1)) 371 int32_t year; local 397 int32_t year, month, dayOfMonth, dayOfYear; local [all...] |
| islamcal.h | 36 * The Islamic calendar is strictly lunar, and thus an Islamic year of twelve 37 * lunar months does not correspond to the solar year used by most other 38 * calendar systems, including the Gregorian. An Islamic year is, on average, 39 * about 354 days long, so each successive Islamic year starts about 11 days 40 * earlier in the corresponding Gregorian year. 104 * Constant for Muharram, the 1st month of the Islamic year. 110 * Constant for Safar, the 2nd month of the Islamic year. 116 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 122 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 128 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year. [all...] |
| /external/icu4c/tools/tzcode/ |
| asctime.c | 38 ** The ISO C 1999 and POSIX 1003.1-2004 standards prohibit padding the year, 47 ** For years that are more than four digits we put extra spaces before the year 49 ** a digit within a year and truncating the year (operating on the assumption 91 char year[INT_STRLEN_MAXIMUM(int) + 2]; local 101 ** Use strftime's %Y to generate the year, to avoid overflow problems 106 (void) strftime(year, sizeof year, "%Y", timeptr); 111 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), 115 year); local [all...] |
| /frameworks/base/core/java/android/util/ |
| MonthDisplayHelper.java | 32 // holds current month, year, helps compute display 42 * @param year The year. 46 public MonthDisplayHelper(int year, int month, int weekStartDay) { 54 mCalendar.set(Calendar.YEAR, year); 66 public MonthDisplayHelper(int year, int month) { 67 this(year, month, Calendar.SUNDAY); 72 return mCalendar.get(Calendar.YEAR); 197 // helper method that recalculates cached values based on current month / year [all...] |
| /frameworks/base/core/java/android/widget/ |
| DatePicker.java | 54 * year, month, and day spinners or a {@link CalendarView}. The set of spinners 136 * @param year The year that was set. 141 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); 200 mTempDate.set(Calendar.YEAR, newVal); 205 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), 218 public void onSelectedDayChange(CalendarView view, int year, int month, int monthDay) { 219 setDate(year, month, monthDay); 241 // year 242 mYearSpinner = (NumberPicker) findViewById(R.id.year); [all...] |
| /frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/helpers/ |
| DatePickerHelper.java | 32 public static final int YEAR = 2; 43 return getNumberPickerField(YEAR).getText(); 88 getNumberPickerIncrementButton(YEAR).click(); 97 getNumberPickerDecrementButton(YEAR).click(); 128 int calYear = cal.get(Calendar.YEAR); 162 // Adjust year 185 * @param year 189 private static int getDaysInMonth(int year, int month) { 191 cal.set(Calendar.YEAR, year); [all...] |
| /external/chromium_org/v8/src/ |
| dateparser.cc | 42 int year = 0; // Default year is 0 (=> 2000) for KJS compatibility. local 49 year = comp_[0]; 56 if (index_ == 3) year = comp_[2]; 65 year = comp_[0]; 70 year = comp_[1]; 75 if (Between(year, 0, 49)) year += 2000; 76 else if (Between(year, 50, 99)) year += 1900 [all...] |
| /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
| TimeTest.java | 34 assertEquals(t.year, t2.year); 49 assertEquals(t.year, t2.year); 61 assertEquals(t.year, 2000); 70 assertEquals(t.year, 2000); 90 assertEquals(0, t.year); 121 a.year = 2000; 125 b.year = 2001; 135 assertEquals(2008, t.year); [all...] |
| /external/v8/src/ |
| dateparser.cc | 42 int year = 0; // Default year is 0 (=> 2000) for KJS compatibility. local 49 year = comp_[0]; 56 if (index_ == 3) year = comp_[2]; 65 year = comp_[0]; 70 year = comp_[1]; 75 if (Between(year, 0, 49)) year += 2000; 76 else if (Between(year, 50, 99)) year += 1900 [all...] |
| /external/chromium_org/v8/test/intl/date-format/ |
| resolved-options.js | 30 // Default (year, month, day) formatter. 43 assertTrue(resolved.hasOwnProperty('year')); 44 assertEquals('numeric', resolved.year); 76 assertFalse(resolved.hasOwnProperty('year')); 85 'en-US', {weekday: 'short', era: 'short', year: 'numeric', month: 'short', 99 assertTrue(resolved.hasOwnProperty('year'));
|
| /external/chromium_org/components/autofill/core/browser/ |
| credit_card_field.h | 66 // True if the year is detected to be a 2-digit year; otherwise, we assume 67 // a 4-digit year.
|
| /external/chromium_org/third_party/WebKit/Source/core/Resources/pagepopups/chromium/ |
| calendarPickerChromium.css | 25 .year-month-button { 33 .year-list-view:focus, 43 .preparing .year-list-view:focus,
|
| /external/chromium_org/v8/test/mjsunit/regress/ |
| regress-91.js | 29 var year = date.getYear(); variable 31 date.setYear(1900 + year); 32 assertEquals(year, date.getYear());
|
| /external/v8/test/mjsunit/regress/ |
| regress-91.js | 29 var year = date.getYear(); variable 31 date.setYear(1900 + year); 32 assertEquals(year, date.getYear());
|
| /frameworks/base/core/java/com/android/internal/http/ |
| HttpDateTime.java | 90 int year = 1970; local 97 year = getYear(rfcMatcher.group(3)); 105 year = getYear(ansicMatcher.group(4)); 112 if (year >= 2038) { 113 year = 2038; 120 month, year); 183 int year = (yearString.charAt(0) - '0') * 10 local 185 if (year >= 70) { 186 return year + 1900; 188 return year + 2000 192 int year = (yearString.charAt(0) - '0') * 100 local [all...] |
| /libcore/luni/src/main/java/javax/xml/datatype/ |
| DatatypeConstants.java | 42 * Value for first month of year. 47 * Value for second month of year. 52 * Value for third month of year. 57 * Value for fourth month of year. 62 * Value for fifth month of year. 67 * Value for sixth month of year. 72 * Value for seventh month of year. 77 * Value for eighth month of year. 82 * Value for ninth month of year. 87 * Value for tenth month of year [all...] |
| /external/chromium_org/chrome/installer/gcapi/ |
| gcapi_omaha_experiment.h | 10 // expiration date of now plus one year. If |shell_mode| is set to
|