/external/chromium_org/third_party/webrtc/ |
PRESUBMIT.py | 11 # Accept any year number from 2003 to the current year 16 r'.*? Copyright( \(c\))? %(year)s The WebRTC [Pp]roject [Aa]uthors\. ' 26 'year': years_re,
|
/external/lzma/CPP/Windows/ |
Time.h | 15 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
|
/external/chromium_org/third_party/icu/source/i18n/ |
indiancal.h | 54 * So When its a leap year in Gregorian calendar then Chaitra has 31 days. 57 * Years are counted in the Saka Era, which starts its year 0 in 78AD (by gregorian calendar). 77 * Constant for Chaitra, the 1st month of the Indian year. 82 * Constant for Vaisakha, the 2nd month of the Indian year. 87 * Constant for Jyaistha, the 3rd month of the Indian year. 92 * Constant for Asadha, the 4th month of the Indian year. 97 * Constant for Sravana, the 5th month of the Indian year. 102 * Constant for Bhadra the 6th month of the Indian year 107 * Constant for the Asvina, the 7th month of the Indian year. 112 * Constant for Kartika, the 8th month of the Indian year. [all...] |
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); 98 * The system maintains a static default century start date and Year. They are 100 * and year are set, they do not change [all...] |
ethpccal.cpp | 82 // Amelete Hihret year always. 85 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 88 - AMETE_MIHRET_DELTA; // Default to year 1 of Amelete Mihret 90 // The year defaults to the epoch start, the era to AMETE_MIHRET 93 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 104 int32_t eyear, month, day, era, year; local 109 year = eyear + AMETE_MIHRET_DELTA; 113 year = eyear; 116 year = eyear + AMETE_MIHRET_DELTA; 122 internalSet(UCAL_YEAR, year); [all...] |
gregoimp.cpp | 85 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) { 87 int32_t y = year - 1; 91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom 96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, 103 // representation. We use 400-year, 100-year, and 4-year cycles. 104 // For example, the 4-year cycle has 4 years + 1 leap day; giving 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 107 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle lengt [all...] |
/external/icu/icu4c/source/i18n/ |
indiancal.h | 54 * So When its a leap year in Gregorian calendar then Chaitra has 31 days. 57 * Years are counted in the Saka Era, which starts its year 0 in 78AD (by gregorian calendar). 77 * Constant for Chaitra, the 1st month of the Indian year. 82 * Constant for Vaisakha, the 2nd month of the Indian year. 87 * Constant for Jyaistha, the 3rd month of the Indian year. 92 * Constant for Asadha, the 4th month of the Indian year. 97 * Constant for Sravana, the 5th month of the Indian year. 102 * Constant for Bhadra the 6th month of the Indian year 107 * Constant for the Asvina, the 7th month of the Indian year. 112 * Constant for Kartika, the 8th month of the Indian year. [all...] |
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); 98 * The system maintains a static default century start date and Year. They are 100 * and year are set, they do not change [all...] |
ethpccal.cpp | 82 // Amelete Hihret year always. 85 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 88 - AMETE_MIHRET_DELTA; // Default to year 1 of Amelete Mihret 90 // The year defaults to the epoch start, the era to AMETE_MIHRET 93 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 104 int32_t eyear, month, day, era, year; local 109 year = eyear + AMETE_MIHRET_DELTA; 113 year = eyear; 116 year = eyear + AMETE_MIHRET_DELTA; 122 internalSet(UCAL_YEAR, year); [all...] |
gregoimp.cpp | 85 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) { 87 int32_t y = year - 1; 91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom 96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, 103 // representation. We use 400-year, 100-year, and 4-year cycles. 104 // For example, the 4-year cycle has 4 years + 1 leap day; giving 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 107 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle lengt [all...] |
/developers/build/prebuilts/gradle/SpeedTracker/Shared/src/main/java/com/example/android/wearable/speedtracker/common/ |
Utils.java | 27 * Builds a simple hash for a day by concatenating year and day of year together. Note that two 32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR);
|
/developers/samples/android/wearable/wear/SpeedTracker/Shared/src/main/java/com/example/android/wearable/speedtracker/common/ |
Utils.java | 27 * Builds a simple hash for a day by concatenating year and day of year together. Note that two 32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR);
|
/development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/ |
Utils.java | 27 * Builds a simple hash for a day by concatenating year and day of year together. Note that two 32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR);
|
/external/chromium_org/ui/android/java/res/layout/ |
two_field_date_picker.xml | 22 <!-- Position in year --> 34 <!-- Year --> 36 android:id="@+id/year"
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/ |
DateTimePickerDialog.java | 38 * @param year The year that was set. 45 void onDateTimeSet(DatePicker dateView, TimePicker timeView, int year, int monthOfYear, 52 * @param year The initial year of the dialog. 58 int year, 83 year, monthOfYear, dayOfMonth, hourOfDay, minute, mMinTimeMillis, mMaxTimeMillis); 109 public void onDateChanged(DatePicker view, int year, 137 * @param year The date year [all...] |
/frameworks/base/core/java/android/widget/ |
SimpleMonthAdapter.java | 111 final int diffYear = mMaxDate.get(Calendar.YEAR) - mMinDate.get(Calendar.YEAR); 153 final int minYear = mMinDate.get(Calendar.YEAR); 156 final int year = currentMonth / 12 + minYear; local 158 if (isSelectedDayInMonth(year, month)) { 169 if (minMonth == month && minYear == year) { 176 if (mMaxDate.get(Calendar.MONTH) == month && mMaxDate.get(Calendar.YEAR) == year) { 182 v.setMonthParams(selectedDay, month, year, mFirstDayOfWeek, 189 private boolean isSelectedDayInMonth(int year, int month) [all...] |
YearPickerView.java | 114 final int maxYear = mMaxDate.get(Calendar.YEAR); 115 for (int year = mMinDate.get(Calendar.YEAR); year <= maxYear; year++) { 116 mAdapter.add(year); 147 int year = getItem(position); local 148 boolean selected = mController.getSelectedDay().get(Calendar.YEAR) == year; 189 mController.getSelectedDay().get(Calendar.YEAR) - mMinDate.get(Calendar.YEAR)) [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 432 int realYear = iterator.year; 441 + "/" + iterator.year + " day=" + day); 448 realYear = t.year; 454 + "/" + t.year); 471 + "/" + t.year 670 // them to year/month/day values in the local timezone. 685 // them to year/month/day values in the local timezone. 698 // for fast comparisons and that is easy to generate from year/month/day 801 freqField = Time.YEAR; 1144 int year = date.year; local [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DatePickerDialog.java | 61 private static final String KEY_SELECTED_YEAR = "year"; 120 * @param year The year that was set. 125 void onDateSet(DatePickerDialog dialog, int year, int monthOfYear, int dayOfMonth); 143 * @param year The initial year of the dialog. 147 public static DatePickerDialog newInstance(OnDateSetListener callBack, int year, 151 ret.initialize(callBack, year, monthOfYear, dayOfMonth); 155 public void initialize(OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) { 157 mCalendar.set(Calendar.YEAR, year) 451 adjustDayInMonthIfNeeded(mCalendar.get(Calendar.MONTH), year); local [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
gregocal.h | 50 * Prior to the institution of the Gregorian Calendar, New Year's Day was March 25. To 56 * 53. Week 1 for a year is the first week that contains at least 57 * <code>getMinimalDaysInFirstWeek()</code> days from that year. It thus 60 * Weeks between week 1 of one year and week 1 of the following year are 99 * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl; 121 * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl; 234 * @param year The value used to set the YEAR time field in the calendar. 242 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success) [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
gregocal.h | 50 * Prior to the institution of the Gregorian Calendar, New Year's Day was March 25. To 56 * 53. Week 1 for a year is the first week that contains at least 57 * <code>getMinimalDaysInFirstWeek()</code> days from that year. It thus 60 * Weeks between week 1 of one year and week 1 of the following year are 99 * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl; 121 * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl; 234 * @param year The value used to set the YEAR time field in the calendar. 242 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
DateComponents.cpp | 42 // HTML5 specification defines minimum week of year is one. 45 // HTML5 specification defines maximum week of year is 53. 55 static int maxDayOfMonth(int year, int month) 59 return isLeapYear(year) ? 29 : 28; 63 static int dayOfWeek(int year, int month, int day) 71 year--; 75 int highYear = year / 100; 76 int lowYear = year % 100; 131 int year; local 132 if (!toInt(src, start, digitsLength, year)) 184 int year = m_year; local 205 int year = m_year; local 584 int year = static_cast<int>(doubleYear); local [all...] |
/libcore/luni/src/main/java/java/util/ |
Date.java | 65 * @param year 66 * the year, 0 is 1900. 75 public Date(int year, int month, int day) { 77 cal.set(1900 + year, month, day); 85 * @param year 86 * the year, 0 is 1900. 99 public Date(int year, int month, int day, int hour, int minute) { 101 cal.set(1900 + year, month, day, hour, minute); 109 * @param year 110 * the year, 0 is 1900 387 int year = -1, month = -1, date = -1; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
calendar.py | 97 def isleap(year): 99 return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0) 110 def weekday(year, month, day): 111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12), 113 return datetime.date(year, month, day).weekday() 116 def monthrange(year, month): 118 year, month.""" 121 day1 = weekday(year, month, 1 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
calendar.py | 97 def isleap(year): 99 return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0) 110 def weekday(year, month, day): 111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12), 113 return datetime.date(year, month, day).weekday() 116 def monthrange(year, month): 118 year, month.""" 121 day1 = weekday(year, month, 1 [all...] |