/external/icu4c/i18n/ |
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...] |
cecal.cpp | 21 { 1, 1, 5000000, 5000000}, // YEAR 110 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset) 114 year += month/13; 118 year += month/13 - 1; 123 + 365 * year // number of days from years 124 + ClockMath::floorDivide(year, 4) // extra day of leap year 131 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day) 133 int32_t c4; // number of 4 year cycle (1461 days) 134 int32_t r4; // remainder of 4 year cycle, always positiv [all...] |
islamcal.cpp | 148 { 1, 1, 5000000, 5000000}, // YEAR 184 * Determine whether a year is a leap year in the Islamic civil calendar 186 UBool IslamicCalendar::civilLeapYear(int32_t year) 188 return (14 + 11 * year) % 30 < 11; 192 * Return the day # on which the given year starts. Days are counted 195 int32_t IslamicCalendar::yearStart(int32_t year) { 197 return (year-1)*354 + ClockMath::floorDivide((3+11*year),30); 199 return trueMonthStart(12*(year-1)) 368 int32_t year; local 394 int32_t year, month, dayOfMonth, dayOfYear; local [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...] |
cecal.h | 66 * Return JD of start of given month/extended year 104 * Convert an Coptic/Ethiopic year, month, and day to a Julian day. 106 * @param year the extended year 113 static int32_t ceToJD(int32_t year, int32_t month, int32_t date, 117 * Convert a Julian day to an Coptic/Ethiopic year, month and day 121 * @param year receives the extended year 127 int32_t& year, int32_t& month, int32_t& day);
|
/external/icu4c/tools/tzcode/ |
asctime.c | 38 ** The ISO C 1999 and POSIX 1003.1-2004 standards prohibit padding the year, 47 ** For years that are more than four digits we put extra spaces before the year 49 ** a digit within a year and truncating the year (operating on the assumption 91 char year[INT_STRLEN_MAXIMUM(int) + 2]; local 101 ** Use strftime's %Y to generate the year, to avoid overflow problems 106 (void) strftime(year, sizeof year, "%Y", timeptr); 111 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), 115 year); local [all...] |
/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...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.36-1.js | 24 ECMA Section: 15.9.5.36 Date.prototype.setFullYear(year [, mon [, date ]] ) 33 2. Call ToNumber(year). 46 Added test cases for Year 2000 Compatilibity Testing. 53 writeHeaderToLog( SECTION + " Date.prototype.setFullYear(year [, mon [, date ]] )"); 172 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 177 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 186 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ) [all...] |
15.9.5.36-2.js | 24 ECMA Section: 15.9.5.36 Date.prototype.setFullYear(year [, mon [, date ]] ) 33 2. Call ToNumber(year). 46 Added test cases for Year 2000 Compatilibity Testing. 53 writeHeaderToLog( SECTION + " Date.prototype.setFullYear(year [, mon [, date ]] )"); 158 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 163 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 172 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ) [all...] |
15.9.5.36-3.js | 24 ECMA Section: 15.9.5.36 Date.prototype.setFullYear(year [, mon [, date ]] ) 33 2. Call ToNumber(year). 46 Added test cases for Year 2000 Compatilibity Testing. 53 writeHeaderToLog( SECTION + " Date.prototype.setFullYear(year [, mon [, date ]] )"); 145 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 150 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 159 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ) [all...] |
15.9.5.37-1.js | 24 ECMA Section: 15.9.5.37 Date.prototype.setUTCFullYear(year [, mon [, date ]] ) 32 2. Call ToNumber(year). 45 Added some Year 2000 test cases. 51 writeHeaderToLog( SECTION + " Date.prototype.setUTCFullYear(year [, mon [, date ]] )"); 164 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 169 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 178 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ) [all...] |
15.9.5.23-1.js | 84 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 89 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 98 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 115 this.year = 0; 132 d.year = YearFromTime(t); 140 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.23-10.js | 83 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 88 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 97 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 114 this.year = 0; 131 d.year = YearFromTime(t); 139 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
/frameworks/base/core/java/android/widget/ |
DatePicker.java | 38 * A view for selecting a month / year / day based on a calendar like layout. 69 * @param year The year that was set. 74 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); 131 mYearPicker = (NumberPicker) findViewById(R.id.year); 154 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); 219 } else if (c == DateFormat.YEAR && !didYear) { 238 public void updateDate(int year, int monthOfYear, int dayOfMonth) { 239 if (mYear != year || mMonth != monthOfYear || mDay != dayOfMonth) { 240 mYear = year; [all...] |
/external/webkit/WebCore/html/ |
DateComponents.cpp | 51 static bool isLeapYear(int year) 53 if (year % 4) 55 if (!(year % 400)) 57 if (!(year % 100)) 63 static int maxDayOfMonth(int year, int month) 67 return isLeapYear(year) ? 29 : 28; 71 static int dayOfWeek(int year, int month, int day) 79 year--; 83 int highYear = year / 100; 84 int lowYear = year % 100 134 int year; local 159 int year = m_year; local 180 int year = m_year; local 551 int year = static_cast<int>(doubleYear); local [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
TimeBar.java | 243 // Detect year rollovers. 244 final int year = time.get(Calendar.YEAR); local 245 if (year != lastYear) { 246 lastYear = year; 257 marker = new Marker(dx, time.getTimeInMillis(), year, month, dayBlock, Marker.TYPE_MONTH, increment); 262 marker = new Marker(dx, time.getTimeInMillis(), year, month, dayBlock, Marker.TYPE_DAY, increment); 266 marker = new Marker(dx, time.getTimeInMillis(), year, month, dayBlock, Marker.TYPE_DOT, increment); 404 Texture year = getYearLabel(anchor.year); local 509 public final int year; field in class:TimeBar.Marker [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/ |
Time.java | 52 int year = Integer.parseInt(d.substring(0, 4)); local 54 if (year < 1950 || year > 2049)
|
/dalvik/libcore/security/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)
|
/dalvik/libcore/xml/src/main/java/javax/xml/datatype/ |
DatatypeConstants.java | 42 * Value for first month of year. 47 * Value for second month of year. 52 * Value for third month of year. 57 * Value for fourth month of year. 62 * Value for fifth month of year. 67 * Value for sixth month of year. 72 * Value for seventh month of year. 77 * Value for eighth month of year. 82 * Value for ninth month of year. 87 * Value for tenth month of year [all...] |
/external/v8/test/mjsunit/regress/ |
regress-91.js | 29 var year = date.getYear(); variable 31 date.setYear(1900 + year); 32 assertEquals(year, date.getYear());
|
/external/webkit/JavaScriptCore/runtime/ |
DateConstructor.cpp | 103 int year = args.at(0).toInt32(exec); local 104 t.year = (year >= 0 && year <= 99) ? year : year - 1900; 173 int year = args.at(0).toInt32(exec); local 174 t.year = (year >= 0 && year <= 99) ? year : year - 1900 [all...] |
/frameworks/base/core/java/com/android/internal/http/ |
HttpDateTime.java | 90 int year = 1970; local 97 year = getYear(rfcMatcher.group(3)); 105 year = getYear(ansicMatcher.group(4)); 112 if (year >= 2038) { 113 year = 2038; 120 month, year); 183 int year = (yearString.charAt(0) - '0') * 10 local 185 if (year >= 70) { 186 return year + 1900; 188 return year + 2000 192 int year = (yearString.charAt(0) - '0') * 100 local [all...] |
/external/clearsilver/cgi/ |
date.c | 34 * prefix.year - full year (ie, 4 digits) 35 * prefix.2yr - year (2 digits) 90 err = hdf_set_int_value (obj, "year", ttm->tm_year + 1900); 138 int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0, x; local 151 sscanf(ip,"%25s %d %d:%d:%d %d",mname,&day,&hour,&min,&sec,&year); 169 year = 1900 + x; 173 sscanf(ip,"%d %s %d %d:%d:%d",&day,mname,&year,&hour,&min,&sec); 177 if((x = (1900+lms->tm_year) - year))
|
/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/libxml2/include/libxml/ |
nanoftp.h | 31 * @year: the year 38 * Note that only one of year and day:minute are specified. 43 unsigned long size, int links, int year,
|