/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/icu4c/i18n/ |
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...] |
islamcal.h | 36 * The Islamic calendar is strictly lunar, and thus an Islamic year of twelve 37 * lunar months does not correspond to the solar year used by most other 38 * calendar systems, including the Gregorian. An Islamic year is, on average, 39 * about 354 days long, so each successive Islamic year starts about 11 days 40 * earlier in the corresponding Gregorian year. 104 * Constant for Muharram, the 1st month of the Islamic year. 110 * Constant for Safar, the 2nd month of the Islamic year. 116 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 122 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 128 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year. [all...] |
/external/icu4c/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...] |
/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...] |
/external/grub/docs/ |
mdate-sh | 115 # Get the month. Next argument is day, followed by the year or time. 134 # the time of day or the year. 136 *:*) set `date`; eval year=\$$# 151 # For the first six month of the year the time notation can also 152 # be used for files modified in the last year. 155 year=`expr $year - 1` 157 *) year=$3;; 161 echo $day $month $year
|
/external/libffi/ |
mdate-sh | 132 # $4 = year or time 140 # $3 = year or time 165 # the time of day or the year. 167 *:*) set `date`; eval year=\$$# 182 # For the first six month of the year the time notation can also 183 # be used for files modified in the last year. 186 year=`expr $year - 1` 188 *) year=$3;; 192 echo $day $month $year [all...] |
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.java | 176 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) { 181 long calc = (year / 400) * MILLISECONDS_PER_400_YEARS; 182 year %= 400; 184 calc += year * (365 * MILLISECONDS_PER_DAY); 185 calc += ((year + 3) / 4) * MILLISECONDS_PER_DAY; 187 if (year > 0) { 188 calc -= ((year - 1) / 100) * MILLISECONDS_PER_DAY; 191 boolean isLeap = (year == 0 || (year % 4 == 0 && year % 100 != 0)) [all...] |
/ndk/sources/host-tools/make-3.81/config/ |
mdate-sh | 132 # $4 = year or time 140 # $3 = year or time 165 # the time of day or the year. 167 *:*) set `date`; eval year=\$$# 182 # For the first six month of the year the time notation can also 183 # be used for files modified in the last year. 186 year=`expr $year - 1` 188 *) year=$3;; 192 echo $day $month $year [all...] |
/ndk/sources/host-tools/sed-4.2.1/build-aux/ |
mdate-sh | 135 # $4 = year or time 143 # $3 = year or time 168 # the time of day or the year. 170 *:*) set `date`; eval year=\$$# 185 # For the first six month of the year the time notation can also 186 # be used for files modified in the last year. 189 year=`expr $year - 1` 191 *) year=$3;; 195 echo $day $month $year [all...] |
/frameworks/base/core/java/android/text/format/ |
Time.java | 84 * Year. For example, 1970. 86 public int year; field in class:Time 94 * Day of year [0-365] 127 public static final int YEAR = 6; 170 this.year = 1970; 243 int y = this.year; 249 case YEAR: 254 int y = this.year; 255 // Year days are numbered from 0, so the last one is usually 364. 281 this.year = 0 [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
DateTimePickerDialog.java | 25 private static final String YEAR = "year"; 47 * @param year The year that was set. 54 void onDateTimeSet(DatePicker dateView, TimePicker timeView, int year, int monthOfYear, 61 * @param year The initial year of the dialog. 67 int year, 92 year, monthOfYear, dayOfMonth, hourOfDay, minute, min, max); 130 public void onDateChanged(DatePicker view, int year, [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
Time.java | 54 int year = Integer.parseInt(d.substring(0, 4)); local 56 if (year < 1950 || year > 2049)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
Time.java | 54 int year = Integer.parseInt(d.substring(0, 4)); local 56 if (year < 1950 || year > 2049)
|
/external/chromium_org/third_party/icu/source/i18n/ |
islamcal.h | 36 * The Islamic calendar is strictly lunar, and thus an Islamic year of twelve 37 * lunar months does not correspond to the solar year used by most other 38 * calendar systems, including the Gregorian. An Islamic year is, on average, 39 * about 354 days long, so each successive Islamic year starts about 11 days 40 * earlier in the corresponding Gregorian year. 104 * Constant for Muharram, the 1st month of the Islamic year. 110 * Constant for Safar, the 2nd month of the Islamic year. 116 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 122 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 128 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year. [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TimeTest.java | 34 assertEquals(t.year, t2.year); 49 assertEquals(t.year, t2.year); 61 assertEquals(t.year, 2000); 70 assertEquals(t.year, 2000); 90 assertEquals(0, t.year); 121 a.year = 2000; 125 b.year = 2001; 135 assertEquals(2008, t.year); [all...] |
/external/chromium/base/ |
time_mac.cc | 71 date.year = exploded.year; 90 exploded->year = date.year;
|
/external/chromium_org/content/public/android/java/resource_map/org/chromium/content/ |
R.java | 40 public static int year; field in class:R.id
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
calcasts.h | 30 int32_t year; member in struct:CalendarCaseTest::TestCase
|
/external/icu4c/test/intltest/ |
calcasts.h | 30 int32_t year; member in struct:CalendarCaseTest::TestCase
|
/frameworks/base/core/java/android/util/ |
MonthDisplayHelper.java | 32 // holds current month, year, helps compute display 42 * @param year The year. 46 public MonthDisplayHelper(int year, int month, int weekStartDay) { 54 mCalendar.set(Calendar.YEAR, year); 66 public MonthDisplayHelper(int year, int month) { 67 this(year, month, Calendar.SUNDAY); 72 return mCalendar.get(Calendar.YEAR); 197 // helper method that recalculates cached values based on current month / year [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DatePicker.java | 41 * A view for selecting a month / year / day based on a calendar like layout. 78 * @param year The year that was set. 83 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); 149 mYearPicker = (NumberPicker) findViewById(R.id.year); 187 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); 252 } else if (c == DateFormat.YEAR && !didYear) { 271 public void updateDate(int year, int monthOfYear, int dayOfMonth) { 272 if (mYear != year || mMonth != monthOfYear || mDay != dayOfMonth) { 273 mYear = (mYearOptional && year == 0) ? getCurrentYear() : year 470 int year = (mYearOptional && !mHasYear) ? 0 : mYear; local [all...] |
DatePickerActivity.java | 32 public void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 19 // This is a fork of the standard Android DatePicker that additionally allows toggling the year 51 * A view for selecting a month / year / day based on a calendar like layout. 60 /** Magic year that represents "no year" */ 91 * @param year The year that was set or {@link DatePicker#NO_YEAR} if no year was set 96 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); 162 mYearPicker = (NumberPicker) findViewById(R.id.year); 201 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null) 450 int year = (mYearOptional && !mHasYear) ? NO_YEAR : mYear; local [all...] |
/external/chromium_org/net/ftp/ |
ftp_util.cc | 247 if (!base::StringToInt(rest, &time_exploded.year)) { 274 // Guess the year. 278 // If it's not possible for the parsed date to be in the current year, 279 // use the previous year. 283 time_exploded.year = current_exploded.year - 1; 285 time_exploded.year = current_exploded.year; 309 if (!base::StringToInt(date_parts[2], &time_exploded.year)) 311 if (time_exploded.year < 0 [all...] |