HomeSort by relevance Sort by last modified time
    Searched full:year (Results 1 - 25 of 1178) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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
50 /** Magic year that represents "no year" */
53 private static final String YEAR = "year";
73 * @param year The year that was set or {@link DatePickerDialog#NO_YEAR} if the user has
74 * not specified a year
79 void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth);
85 * @param year The initial year of the dialo
235 int year = savedInstanceState.getInt(YEAR); local
    [all...]
  /external/icu4c/i18n/
persncal.cpp 26 jalali_to_julian(int year, int month, int day)
31 year = year -475+2820;
34 daysNo=(year/2820)*1029983;
35 year=year % 2820;
37 daysNo+=(year/128)* 46751;
38 if((year/128)>21)
41 year=(year%128)+128
89 int year=0, month=0, day=0,scalarDays=0; local
330 int32_t year; local
    [all...]
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 &#x1218;&#x1235;&#x12a8;&#x1228;&#x121d;, the 1st month of the Ethiopic year.
47 * Constant for &#x1325;&#x1245;&#x121d;&#x1275;, the 2nd month of the Ethiopic year.
52 * Constant for &#x1285;&#x12f3;&#x122d;, the 3rd month of the Ethiopic year.
57 * Constant for &#x1273;&#x1285;&#x1223;&#x1225;, the 4th month of the Ethiopic year.
62 * Constant for &#x1325;&#x122d;, the 5th month of the Ethiopic year.
67 * Constant for &#x12e8;&#x12ab;&#x1272;&#x1275;, the 6th month of the Ethiopic year.
72 * Constant for &#x1218;&#x130b;&#x1262;&#x1275;, the 7th month of the Ethiopic year.
77 * Constant for &#x121a;&#x12eb;&#x12dd;&#x12eb;, the 8th month of the Ethiopic year.
82 * Constant for &#x130d;&#x1295;&#x1266;&#x1275;, the 9th month of the Ethiopic year.
87 * Constant for &#x1230;&#x1294;, the 10th month of the Ethiopic year.
    [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/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...]
  /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...]
  /tools/motodev/src/help/appvalidator_help/tools/ditaot/plugins/cshelp/samples/
test.ditamap 10 <copyryear year="2000"/>
11 <copyryear year="2006"/>
  /tools/motodev/src/help/studio_help/tools/ditaot/plugins/cshelp/samples/
test.ditamap 10 <copyryear year="2000"/>
11 <copyryear year="2006"/>
  /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...]
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/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)
  /external/libpng/
Y2KINFO 13 Libpng only has three year fields. One is a 2-byte unsigned integer
18 "png_uint_16 year" in png_time_struct.
37 clock time, which returns (year - 1900), which we properly convert to
38 the full 4-digit year. There is a possibility that applications using
40 function, or that they are incorrectly passing only a 2-digit year
41 instead of "year - 1900" into the png_convert_from_struct_tm() function,
47 integer to hold the year, and can hold years as large as 65535.

Completed in 1462 milliseconds

1 2 3 4 5 6 7 8 91011>>