/external/webkit/Source/WebKit/qt/tests/MIMESniffing/resources/ |
text_xml | 9 <YEAR>1985</YEAR>
17 <YEAR>1987</YEAR>
|
/external/llvm/test/YAMLParser/ |
spec-02-14.data | 5 year was crippled
|
spec-02-15.data | 10 What a year!
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 19 // This is a fork of the standard Android DatePicker that additionally allows toggling the year 49 /** Magic year that represents "no year" */ 52 private static final String YEAR = "year"; 72 * @param year The year that was set or {@link DatePickerDialog#NO_YEAR} if the user has 73 * not specified a year 78 void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth); 84 * @param year The initial year of the dialo 233 int year = savedInstanceState.getInt(YEAR); local [all...] |
/frameworks/base/core/java/android/app/ |
DatePickerDialog.java | 42 private static final String YEAR = "year"; 59 * @param year The year that was set. 64 void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth); 70 * @param year The initial year of the dialog. 76 int year, 79 this(context, 0, callBack, year, monthOfYear, dayOfMonth); 86 * @param year The initial year of the dialog 193 int year = savedInstanceState.getInt(YEAR); local [all...] |
/libcore/luni/src/main/java/java/util/ |
Grego.java | 56 * Return true if the given year is a leap year.
57 * @param year Gregorian year, with 0 == 1 BCE, -1 == 2 BCE, etc.
58 * @return true if the year is a leap year
60 public static final boolean isLeapYear(int year) {
61 // year&0x3 == year%4
62 return ((year&0x3) == 0) && ((year%100 != 0) || (year%400 == 0)); 128 int year = (int)(400 * n400 + 100 * n100 + 4 * n4 + n1); local [all...] |
GregorianCalendar.java | 42 * the Julian calendar is the leap year rule. The Julian calendar specifies leap 54 * date, leap year rules were applied irregularly, and before 45 BC the Julian 58 * Prior to the institution of the Gregorian calendar, New Year's Day was March 65 * 53. Week 1 for a year is the earliest seven day period starting on 67 * {@code getMinimalDaysInFirstWeek()} days from that year. It thus 70 * Weeks between week 1 of one year and week 1 of the following year are 89 * {@code getFirstDayOfWeek()}. Unlike week 1 of a year, week 1 of a 132 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR)); 655 int year = isSet[YEAR] ? fields[YEAR] : 1970; local 789 int year = 1970; local 1025 int year = 1970; local [all...] |
/bionic/libc/bionic/ |
time64.c | 72 typedef int64_t Year; 103 static const Year years_in_gregorian_cycle = 400; 107 /* Year range we can trust the time funcitons with */ 111 /* 28 year Julian calendar cycle */ 114 /* Year cycle from MAX_SAFE_YEAR down. */ 125 /* Year cycle from MIN_SAFE_YEAR up */ 190 static int is_exception_century(Year year) 192 int is_exception = ((year % 100 == 0) && !(year % 400 == 0)) 206 Year year; local 495 Year year = input_date->tm_year + 1900; local 528 Year year = 70; local [all...] |
/external/ceres-solver/docs/ |
ceres-solver.bib | 8 year={1980}, 18 year={1973}, 27 year={1976} 33 year={2000}, 43 year={1988}, 53 year={1981}, 61 year={2012}, 71 year={1990} 79 year={2011}, 86 year = {2010} [all...] |
/external/v8/test/cctest/ |
test-date.cc | 39 int year, start_month, start_day, end_month, end_day, offset_sec; member in struct:DateCacheMock::Rule 49 int year, month, day; local 50 YearMonthDayFromDays(days, &year, &month, &day); 51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec); 61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) { 64 if (Match(&rules_[i], year, month, day, time_in_day_sec)) { 71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) { 72 if (rule->year != 0 && rule->year != year) return false [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
SimpleMonthAdapter.java | 53 int year; field in class:SimpleMonthAdapter.CalendarDay 66 year = calendar.get(Calendar.YEAR); 71 public CalendarDay(int year, int month, int day) { 72 setDay(year, month, day); 76 year = date.year; 81 public void setDay(int year, int month, int day) { 82 this.year = year; 167 final int year = position \/ MONTHS_IN_YEAR + mController.getMinYear(); local [all...] |
/external/icu4c/i18n/ |
buddhcal.cpp | 66 // EXTENDED_YEAR in BuddhistCalendar is a Gregorian year. 68 int32_t year; local 70 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); 72 // extended year is a gregorian year, where 1 = 1AD, 0 = 1BC, -1 = 2BC, etc 73 year = internalGet(UCAL_YEAR, kGregorianEpoch - kBuddhistEraStart) 76 return year; 109 int32_t year = internalGet(UCAL_YEAR); 112 year = 1-year; [all...] |
taiwncal.cpp | 66 // EXTENDED_YEAR in TaiwanCalendar is a Gregorian year 68 int32_t year = kGregorianEpoch; local 72 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); 76 year = internalGet(UCAL_YEAR, 1) + kTaiwanEraStart; 78 year = 1 - internalGet(UCAL_YEAR, 1) + kTaiwanEraStart; 81 return year; 116 int32_t year = internalGet(UCAL_YEAR); 119 year = 1-year; 127 year = year - kTaiwanEraStart [all...] |
japancal.h | 34 * except for the year and era. The ascension of each emperor to the throne 36 * year of ascension as year 1. 38 * Note that in the year of an imperial ascension, there are two possible sets 39 * of year and era values: that for the old era and for the new. For example, a 41 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest 42 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class 105 * Return the extended year defined by the current fields. In the 106 * Japanese calendar case, this is equal to the equivalent extended Gregorian year. 192 * Called by computeJulianDay. Returns the default month (0-based) for the year, [all...] |
gregoimp.h | 93 #define kJan1_1JulianDay 1721426 // January 1, year 1 (Gregorian) 138 * Return TRUE if the given year is a leap year. 139 * @param year Gregorian year, with 0 == 1 BCE, -1 == 2 BCE, etc. 140 * @return TRUE if the year is a leap year 142 static inline UBool isLeapYear(int32_t year); 146 * @param year Gregorian year, with 0 == 1 BCE, -1 == 2 BCE, etc [all...] |
indiancal.cpp | 61 { -5000000, -5000000, 5000000, 5000000}, // YEAR 94 * Determine whether the given gregorian year is a Leap year 96 static UBool isGregorianLeap(int32_t year) 98 return ((year % 4) == 0) && (!(((year % 100) == 0) && ((year % 400) != 0))); 108 * @param eyear The year in Saka Era 128 * Return the number of days in the given Indian year 130 * @param eyear The year in Saka Era 163 int32_t year, month, day; local 266 int32_t year; local [all...] |
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...] |
ethpccal.h | 42 * Constant for መስከረም, the 1st month of the Ethiopic year. 47 * Constant for ጥቅምት, the 2nd month of the Ethiopic year. 52 * Constant for ኅዳር, the 3rd month of the Ethiopic year. 57 * Constant for ታኅሣሥ, the 4th month of the Ethiopic year. 62 * Constant for ጥር, the 5th month of the Ethiopic year. 67 * Constant for የካቲት, the 6th month of the Ethiopic year. 72 * Constant for መጋቢት, the 7th month of the Ethiopic year. 77 * Constant for ሚያዝያ, the 8th month of the Ethiopic year. 82 * Constant for ግንቦት, the 9th month of the Ethiopic year. 87 * Constant for ሰኔ, the 10th month of the Ethiopic year. [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 34 private final int year;
field in class:DateTime 43 this.year = convertToYear(yearString);
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
54 int year = Integer.parseInt(yearString);
local 58 if (year >= 0 && year < 50)
59 return 2000 + year;
61 return 1900 + year;
63 return 1900 + year;
65 return year;
[all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
SimpleDate.java | 23 * Represents a date (year, month, day) 28 public int year; // YYYY field in class:SimpleDate 47 this.year = sCalendarInstance.get(Calendar.YEAR); 59 result = prime * result + year; 72 if (year != other.year) 83 int yearDiff = this.year - other.getYear(); 104 return year;
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
DateUtils.java | 39 * When parsing a date without a year, the system assumes 1970, which wasn't a leap-year. 40 * Let's add a one-off hack for that day of the year 68 * @param mustContainYear If true, the string is parsed as a date containing a year. If false, 69 * the string is parsed into a valid date even if the year field is missing. 109 calendar.set(Calendar.YEAR, 0); 114 private static final Calendar getUtcDate(int year, int month, int dayOfMonth) { 117 calendar.set(Calendar.YEAR, year); 124 // use the Calendar.YEAR field to track whether or not the year is set instead o [all...] |
/external/skia/tools/copyright/ |
fileparser.py | 44 """Given a comment block, return a tuple of attributes: (year, holder). 61 DEFAULT_YEAR = datetime.date.today().year 81 def CreateCopyrightBlock(self, year, holder): 85 @param year year in which to hold copyright (defaults to DEFAULT_YEAR) 88 if not year: 89 year = self.DEFAULT_YEAR 92 return self.COPYRIGHT_BLOCK_FORMAT % (year, holder)
|
/external/v8/src/ |
date.h | 98 bool IsLeap(int year) { 99 return year % 4 == 0 && (year % 100 != 0 || year % 400 == 0); 142 // We solve this by mapping the time to a year with same leap-year-ness 143 // and same starting day for the year. The ECMAscript specification says 145 // the actual year if it is in the range 1970..2037 149 int year, month, day; local 150 YearMonthDayFromDays(days, &year, &month, &day) [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
DateMath.cpp | 136 // Day of year for the first day of each month, where index 0 is January, and day 0 is January 1. 143 static inline bool isLeapYear(int year) 145 if (year % 4 != 0) 147 if (year % 400 == 0) 149 if (year % 100 == 0) 154 static inline int daysInYear(int year) 156 return 365 + isLeapYear(year); 159 static inline double daysFrom1970ToYear(int year) 162 // Every fourth year is a leap year. 2004, 2008, and 2012 are leap years 465 int year = msToYear(ms); local 582 long year; local 782 long year = 0; local 1137 const int year = msToYear(ms); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/ |
plugin.properties | 2 #TODO: update with new year date (search this to find other occurrences to update)
|