/external/chromium_org/net/ftp/ |
ftp_directory_listing_parser_unittest.h | 23 int year; member in struct:net::FtpDirectoryListingParserTest::SingleLineTestData 53 EXPECT_EQ(test_case.year, time_exploded.year); 64 mock_current_time_exploded.year = 1994;
|
/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/chromium_org/tools/json_schema_compiler/templates/ppapi/ |
base.template | 5 // Copyright {{ year }} The Chromium Authors. All rights reserved.
|
/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...] |
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...] |
coptccal.h | 34 * the 1st month of the Coptic year. 40 * the 2nd month of the Coptic year. 46 * the 3rd month of the Coptic year. 52 * the 4th month of the Coptic year. 58 * the 5th month of the Coptic year. 64 * the 6th month of the Coptic year. 70 * the 7th month of the Coptic year. 76 * the 8th month of the Coptic year. 82 * the 9th month of the Coptic year. 88 * the 10th month of the Coptic 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...] |
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); 169 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day) 171 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET) [all...] |
taiwncal.h | 36 * except for the year and era. Years are numbered since 1912 AD (Gregorian), 133 * Return the extended year defined by the current fields. This will 134 * use the UCAL_EXTENDED_YEAR field or the UCAL_YEAR and supra-year fields (such 137 * @return the extended year 170 * Returns the year in which the default century begins 179 * indicate an uninitialized state. Once the system default century date and year 200 * Returns the beginning date of the 100-year window that dates 206 * Returns the first year of the 100-year window that dates with 212 * Initializes the 100-year window that dates with 2-digit year [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/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);
|
/external/chromium_org/content/public/android/java/res/layout/ |
two_field_date_picker.xml | 22 <!-- Position in year --> 34 <!-- Year --> 36 android:id="@+id/year"
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
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/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/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...] |
/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...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
DateComponents.cpp | 44 // HTML5 specification defines minimum week of year is one. 47 // HTML5 specification defines maximum week of year is 53. 57 static int maxDayOfMonth(int year, int month) 61 return isLeapYear(year) ? 29 : 28; 65 static int dayOfWeek(int year, int month, int day) 73 year--; 77 int highYear = year / 100; 78 int lowYear = year % 100; 133 int year; local 134 if (!toInt(src, start, digitsLength, year)) 186 int year = m_year; local 207 int year = m_year; local 586 int year = static_cast<int>(doubleYear); local [all...] |
/bionic/libc/tzcode/ |
asctime.c | 32 ** The ISO C 1999 and POSIX 1003.1-2004 standards prohibit padding the year, 41 ** For years that are more than four digits we put extra spaces before the year 43 ** a digit within a year and truncating the year (operating on the assumption 83 char year[INT_STRLEN_MAXIMUM(int) + 2]; local 97 ** Use strftime's %Y to generate the year, to avoid overflow problems 102 (void) strftime(year, sizeof year, "%Y", timeptr); 107 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), 111 year); local [all...] |