/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
EasterHoliday.java | 27 * Construct a holiday that falls on Easter Sunday every year 40 * or after Easter Sunday each year. 54 * or after Easter Sunday each year, using either the Western 212 // Figure out when this holiday lands in the given year 217 // We might have gotten a date that's in the same year as "start", but 218 // earlier in the year. If so, go to next year 222 calendar.get(Calendar.YEAR); // JDK 1.1.2 bug workaround 223 calendar.add(Calendar.YEAR, 1); 225 //System.out.println(" Result before start, going to next year: 256 int year = cal.get(Calendar.YEAR); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
ChineseTestCase.java | 22 * @param year the YEAR field of tested calendar on the given 33 int era, int year, int month, 39 set(Calendar.YEAR, year); 52 get(Calendar.YEAR) + "of" + get(Calendar.ERA) +
|
/external/javassist/sample/reflect/ |
Person.java | 30 public int getAge(int year) {
31 return year - birth;
|
/external/python/cpython2/Doc/includes/ |
tzinfo-examples.py | 72 tt = (dt.year, dt.month, dt.day, 147 if 2006 < dt.year: 149 elif 1986 < dt.year < 2007: 151 elif 1966 < dt.year < 1987: 156 start = first_sunday_on_or_after(dststart.replace(year=dt.year)) 157 end = first_sunday_on_or_after(dstend.replace(year=dt.year))
|
/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...] |
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
CalendarViewBindingAdapter.java | 45 public void onSelectedDayChange(CalendarView view, int year, int month, 48 onDayChange.onSelectedDayChange(view, year, month, dayOfMonth);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
SimpleMonthView.java | 31 public void drawMonthDay(Canvas canvas, int year, int month, int day, 39 if (isOutOfRange(year, month, day)) {
|
YearPickerView.java | 73 for (int year = mController.getMinYear(); year <= mController.getMaxYear(); year++) { 74 years.add(String.format("%d", year)); 114 int year = getYearFromTextView(v); local 115 boolean selected = mController.getSelectedDay().year == year; 150 postSetSelectionCentered(mController.getSelectedDay().year - mController.getMinYear());
|
/external/clang/docs/analyzer/ |
conf.py | 45 copyright = u'2013-%d, Analyzer Team' % date.today().year
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/demo/ |
EnergySourceProvider.java | 27 @Inject void setYear(@Named("year") int year) {}
|
/external/icu/icu4c/source/i18n/ |
hebrwcal.h | 40 * solar year (approximately 365.24 days) is not an even multiple of 43 * interesting, the start of a year can be delayed by up to three days 45 * to prevent certain illegal year lengths. Finally, the lengths of certain 46 * months can vary depending on the number of days in the year. 50 * not come at the end of the year, calculations involving 93 * Constant for Tishri, the 1st month of the Hebrew year. 97 * Constant for Heshvan, the 2nd month of the Hebrew year. 101 * Constant for Kislev, the 3rd month of the Hebrew year. 106 * Constant for Tevet, the 4th month of the Hebrew year. 111 * Constant for Shevat, the 5th month of the Hebrew year. [all...] |
islamcal.h | 38 * The Islamic calendar is strictly lunar, and thus an Islamic year of twelve 39 * lunar months does not correspond to the solar year used by most other 40 * calendar systems, including the Gregorian. An Islamic year is, on average, 41 * about 354 days long, so each successive Islamic year starts about 11 days 42 * earlier in the corresponding Gregorian year. 109 * Constant for Muharram, the 1st month of the Islamic year. 115 * Constant for Safar, the 2nd month of the Islamic year. 121 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 127 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 133 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year. [all...] |
persncal.h | 37 * The Persian calendar is strictly solar, and thus a Persian year has twelve 38 * solar months. A Persian year is about 365 days long, except in leap years 61 * Constant for Farvardin, the 1st month of the Persian year. 67 * Constant for Ordibehesht, the 2nd month of the Persian year. 73 * Constant for Khordad, the 3rd month of the Persian year. 79 * Constant for Tir, the 4th month of the Persian year. 85 * Constant for Mordad, the 5th month of the Persian year. 91 * Constant for Shahrivar, the 6th month of the Persian year. 97 * Constant for Mehr, the 7th month of the Persian year. 103 * Constant for Aban, the 8th month of the Persian year. [all...] |
/external/mesa3d/src/mesa/main/ |
extensions_table.c | 47 .year = yyyy \
|
/external/pdfium/core/fxcrt/ |
cfx_datetime.h | 27 CFX_DateTime(int32_t year, 34 : year_(year), 57 void SetDate(int32_t year, uint8_t month, uint8_t day) { 58 year_ = year;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
DatePickerDialogTask.java | 36 public DatePickerDialogTask(int year, int month, int day) { 37 mYear = year; 47 public void onDateSet(DatePicker view, int year, int month, int day) { 51 result.put("year", year); 66 result.put("year", mYear); 81 result.put("year", mYear);
|
/external/swiftshader/third_party/subzero/docs/ |
conf.py | 44 copyright = u'2014-%d, Subzero Project' % date.today().year
|
/external/toybox/toys/posix/ |
cal.c | 13 usage: cal [[month] year] 17 With one argument, prints all months of the specified year. 18 With two arguments, prints calendar for month and year. 47 int year = tm->tm_year; local 49 if (!(year & 3) && !((year&100) && !(year&400))) len++; 80 // Last argument is year, one before that (if any) is month. 89 // Print 12 months of the year
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTime.java | 33 * fields (year, month, and day). 37 /** @return Returns the year, can be negative. */ 40 /** @param year Sets the year */ 41 void setYear(int year);
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 43 * This is a fork of the standard Android DatePicker that additionally allows toggling the year 46 * A view for selecting a month / year / day based on a calendar like layout. 54 /** Magic year that represents "no year" */ 86 * @param year The year that was set or {@link DatePicker#NO_YEAR} if no year was set 91 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); 157 mYearPicker = (NumberPicker) findViewById(R.id.year); 185 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null) 434 int year = (mYearOptional && !mHasYear) ? NO_YEAR : mYear; local [all...] |
/external/python/cpython3/Doc/includes/ |
tzinfo-examples.py | 49 tt = (dt.year, dt.month, dt.day, 93 def us_dst_range(year): 96 if 2006 < year: 98 elif 1986 < year < 2007: 100 elif 1966 < year < 1987: 103 return (datetime(year, 1, 1), ) * 2 105 start = first_sunday_on_or_after(dststart.replace(year=year)) 106 end = first_sunday_on_or_after(dstend.replace(year=year)) [all...] |
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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...] |