| /external/chromium_org/third_party/icu/source/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);
|
| gregocal.cpp | 35 * in year of cutover. 36 * 01/24/2000 aliu Revised computeJulianDay for YEAR YEAR_WOY WOY. 61 = {0,31,59,90,120,151,181,212,243,273,304,334}; // 0-based, for day-in-year 63 = {0,31,60,91,121,152,182,213,244,274,305,335}; // 0-based, for day-in-year 70 // This would seem to limit the year range to: 74 // range limit on the year field is smaller (~ +/-140000). [alan 3.0] 80 { 1, 1, 140742, 144683}, // YEAR 110 * YEAR 1 1 140742 144683 220 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, 228 set(UCAL_YEAR, year); 595 int32_t year = internalGet(UCAL_EXTENDED_YEAR); local 1178 int32_t year = kEpochYear; local [all...] |
| chnsecal.cpp | 57 * The start year of the Chinese calendar, the 61st year of the reign 58 * of Huang Di. Some sources use the first year of his reign, 62 static const int32_t CHINESE_EPOCH_YEAR = -2636; // Gregorian year 141 { 1, 1, 60, 60}, // YEAR 179 * Implement abstract Calendar method to return the extended year 181 * YEAR field as the cycle and year-of-cycle, or the EXTENDED_YEAR 182 * field as the continuous year count, depending on which is newer. 186 int32_t year; local 654 int32_t year = gyear - CHINESE_EPOCH_YEAR; local [all...] |
| /external/chromium_org/third_party/libxml/src/include/libxml/ |
| nanoftp.h | 31 * @year: the year 38 * Note that only one of year and day:minute are specified. 43 unsigned long size, int links, int year,
|
| /external/grub/docs/ |
| mdate-sh | 115 # Get the month. Next argument is day, followed by the year or time. 134 # the time of day or the year. 136 *:*) set `date`; eval year=\$$# 151 # For the first six month of the year the time notation can also 152 # be used for files modified in the last year. 155 year=`expr $year - 1` 157 *) year=$3;; 161 echo $day $month $year
|
| /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);
|
| gregocal.cpp | 35 * in year of cutover. 36 * 01/24/2000 aliu Revised computeJulianDay for YEAR YEAR_WOY WOY. 61 = {0,31,59,90,120,151,181,212,243,273,304,334}; // 0-based, for day-in-year 63 = {0,31,60,91,121,152,182,213,244,274,305,335}; // 0-based, for day-in-year 70 // This would seem to limit the year range to: 74 // range limit on the year field is smaller (~ +/-140000). [alan 3.0] 80 { 1, 1, 140742, 144683}, // YEAR 110 * YEAR 1 1 140742 144683 220 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, 228 set(UCAL_YEAR, year); 595 int32_t year = internalGet(UCAL_EXTENDED_YEAR); local 1178 int32_t year = kEpochYear; local [all...] |
| chnsecal.cpp | 60 * The start year of the Chinese calendar, the 61st year of the reign 61 * of Huang Di. Some sources use the first year of his reign, 65 static const int32_t CHINESE_EPOCH_YEAR = -2636; // Gregorian year 179 { 1, 1, 60, 60}, // YEAR 217 * Implement abstract Calendar method to return the extended year 219 * YEAR field as the cycle and year-of-cycle, or the EXTENDED_YEAR 220 * field as the continuous year count, depending on which is newer. 224 int32_t year; local [all...] |
| /frameworks/base/tests/HwAccelerationTest/res/layout/ |
| date_picker.xml | 23 contained in it. This helps to prevent rounding errors when toggling the "Show year" option --> 33 android:text="Provide a year" 72 <!-- Year --> 74 android:id="@+id/year"
|
| /ndk/sources/host-tools/sed-4.2.1/testsuite/ |
| readin.good | 1 ``Democracy will not come today, this year,
|
| readin.inp | 1 ``Democracy will not come today, this year,
|
| /external/chromium_org/v8/src/ |
| date.cc | 78 int days, int* year, int* month, int* day) { 81 // the same year and month as the cached 'days'. 86 *year = ymd_year_; 95 *year = 400 * (days / kDaysIn400Years) - kYearsOffset; 98 ASSERT(DaysFromYearMonth(*year, 0) + days == save_days); 103 *year += 100 * yd1; 108 *year += 4 * yd2; 113 *year += yd3; 121 ASSERT(is_leap == ((*year % 4 == 0) && (*year % 100 || (*year % 400 == 0)))) [all...] |
| /external/v8/src/ |
| date.cc | 78 int days, int* year, int* month, int* day) { 81 // the same year and month as the cached 'days'. 86 *year = ymd_year_; 95 *year = 400 * (days / kDaysIn400Years) - kYearsOffset; 98 ASSERT(DaysFromYearMonth(*year, 0) + days == save_days); 103 *year += 100 * yd1; 108 *year += 4 * yd2; 113 *year += yd3; 121 ASSERT(is_leap == ((*year % 4 == 0) && (*year % 100 || (*year % 400 == 0)))) [all...] |
| /external/bison/build-aux/ |
| update-copyright | 4 # Update an FSF copyright year list to include the current year. 35 # year is not the current year, then the statement is updated for the 36 # new year and it is reformatted to: 40 # 3. Expand copyright year intervals. (See "Environment variables" 98 # 7. Each copyright year is 2 or 4 digits, and years are separated by 105 # year. If unset or set to 0, only updated FSF copyright 111 # copyright year intervals in a reformatted FSF copyright statement 116 # 3. For testing purposes, you can set the assumed current year i [all...] |
| /external/chromium/chrome/browser/autofill/ |
| credit_card_field_unittest.cc | 54 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Exp Year"), 100 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Exp Year"), 144 webkit_glue::FormField(ASCIIToUTF16("Exp Year"), 194 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Exp Year"), 260 webkit_glue::FormField(ASCIIToUTF16("Exp Year"), 318 webkit_glue::FormField(ASCIIToUTF16("ExpDate Month / Year"), 327 webkit_glue::FormField(ASCIIToUTF16("ExpDate Month / Year"), 333 ASCIIToUTF16("year"))); 349 field_type_map_.find(ASCIIToUTF16("year")) != field_type_map_.end()); 351 field_type_map_[ASCIIToUTF16("year")]); [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/platform/ |
| DateComponents.h | 41 // * Month type: year-month 42 // * Date type: year-month-day 43 // * Week type: year-week 45 // * DateTime or DateTimeLocal type: year-month-day hour-minute-second-millisecond 104 // Sets year and month. 106 // Sets year, month and monthDay. 108 // Sets year and week. 112 // Sets year, month, monthDay, hour, minute, second and millisecond. 114 // Sets year, month, monthDay, hour, minute, second and millisecond, and adjusts timezone. 162 // HTML5 uses ISO-8601 format with year >= 1. Gregorian calendar started i [all...] |
| /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...] |
| /libcore/luni/src/test/java/libcore/icu/ |
| DateIntervalFormatTest.java | 33 private static final long YEAR = 12 * MONTH; 39 int currentYear = Calendar.getInstance().get(Calendar.YEAR); 78 assertEquals("1/19/2009 ? 2/9/2012", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 83 assertEquals("19.01.2009 - 09.02.2012", formatDateRange(de_DE, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 88 assertEquals("19/1/2009 ? 9/2/2012", formatDateRange(es_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 93 assertEquals("19/1/2009 ? 9/2/2012", formatDateRange(es_ES, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 107 assertEquals("Jan 19, 2009 ? Feb 9, 2012", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_DATE | FORMAT_ABBREV_ALL)); 108 assertEquals("Jan 2009 ? Feb 2012", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_NO_MONTH_DAY | FORMAT_ABBREV_ALL)); 109 assertEquals("January 19, 2009 ? February 9, 2012", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * YEAR, 0)); 110 assertEquals("Monday, January 19, 2009 ? Thursday, February 9, 2012", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * YEAR, FORMAT_SHOW_WEEKDAY)) [all...] |
| /external/chromium_org/content/browser/android/ |
| date_time_chooser_android.h | 27 int type, int year, int month, int day, 33 jint year, jint month, jint day,
|
| /external/chromium_org/third_party/icu/source/test/intltest/ |
| incaltst.cpp | 147 * that behaves like a Gregorian but has different year/era mappings. 150 * { era, year, gregorianYear, month, dayOfMonth, ... ... , -1 } 172 int32_t year = data[i++]; local 183 cal.set(year, month, dayOfMonth); 190 logln(UnicodeString("OK: ") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 193 errln(UnicodeString("Fail: (fields to millis)") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 206 if (y == year && e == era) { 214 ", expected " + era + ":" + year + "/" + (month+1) + "/" + 268 2542, // B. year 269 1999, // G. year [all...] |
| /external/javassist/sample/reflect/ |
| Person.java | 30 public int getAge(int year) {
31 return year - birth;
|
| /external/valgrind/main/docs/xml/ |
| tech-docs.xml | 12 <year>&vg-lifespan;</year>
|
| /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
| DatePickerController.java | 27 void onYearSelected(int year); 29 void onDayOfMonthSelected(int year, int month, int day);
|
| /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...] |