/frameworks/opt/telephony/src/java/android/telephony/ |
SmsCbEtwsInfo.java | 136 int year = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[0]); local 158 time.year = year + 2000;
|
/external/icu4c/test/intltest/ |
calregts.cpp | 97 "YEAR", 398 logln("YEAR: " + Calendar::get(Calendar::YEAR)); 425 logln("YEAR: " + Calendar::get(Calendar::YEAR)); 804 /*cal1.set( Calendar::YEAR, 1997 ); 817 /*cal2.set( Calendar::YEAR, 1997 ); 860 int32_t sec = 0, min = 0, hr = 0, day = 1, month = 10, year = 1997; local 896 cal3->set(year, month, day, hr, min, sec); 1620 int32_t year = calendar->get(UCAL_YEAR,status); local 2457 int32_t year = cal->get(UCAL_YEAR, status); local [all...] |
tzbdtest.cpp | 225 * Check that the given year/month/dom/hour maps to and from the 233 void TimeZoneBoundaryTest::verifyMapping(Calendar& cal, int year, int month, int dom, int hour, 238 cal.set(year, month, dom, hour, 0, 0); 242 logln(UnicodeString("Ok: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + 245 dataerrln(UnicodeString("FAIL: ") + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + 250 if (cal.get(UCAL_YEAR, status) == year && 265 ", expected " + year + "/" + (month+1) + "/" + dom + 449 TimeZoneBoundaryTest::findBoundariesStepwise(int32_t year, UDate interval, TimeZone* z, int32_t expectedChanges) 453 UDate d = date(year - 1900, UCAL_JANUARY, 1); 459 logln(UnicodeString("-- Zone ") + z->getID(str) + " starts in " + year + " with DST = " + (lastState?"true":"false")) [all...] |
/libcore/luni/src/main/java/java/text/ |
SimpleDateFormat.java | 69 * <tr> <td>{@code D}</td> <td>day in year</td> <td>(Number)</td> <td>189</td> </tr> 76 * <tr> <td>{@code M}</td> <td>month in year</td> <td>(Text)</td> <td>{@code M}:1 {@code MM}:01 {@code MMM}:Jan {@code MMMM}:January {@code MMMMM}:J</td> </tr> 87 * <tr> <td>{@code w}</td> <td>week in year</td> <td>(Number)</td> <td>27</td> </tr> 88 * <tr> <td>{@code y}</td> <td>year</td> <td>(Number)</td> <td>{@code yy}:10 {@code y}/{@code yyy}/{@code yyyy}:2010</td> </tr> 375 calendar.add(Calendar.YEAR, -80); 376 creationYear = calendar.get(Calendar.YEAR); 428 * properties, pattern, {@code DateFormatSymbols} and creation year. 591 dateFormatField = Field.YEAR; 592 int year = calendar.get(Calendar.YEAR); local [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 51 * This constant is actually the length of 364 days, not of a year! 116 // used for formatting a start and end date that fall in the same year. 264 * Return a localized string for the month of the year. 271 * @return Localized month of the year. 624 if (thenCal.get(Calendar.YEAR) == nowCal.get(Calendar.YEAR) 641 int thenYear = time.year; 646 return (thenYear == time.year) 757 * If FORMAT_SHOW_YEAR is set, then the year is always shown. 758 * If FORMAT_NO_YEAR is set, then the year is not shown [all...] |
/external/openssl/crypto/asn1/ |
a_utctm.c | 248 int year; local 266 year = g2(s->data); 267 if (year < 50) 268 year += 100; 269 return_cmp(year, tm->tm_year);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.3.1-2.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 31 1. Call ToNumber(year) 59 var TITLE = "new Date( year, month, date, hours, minutes, seconds, ms )"; 71 var YEAR = 9; 210 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", ResultArray[YEAR], DateCase.getFullYear() );
|
15.9.3.1-3.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 31 1. Call ToNumber(year) 59 var TITLE = "new Date( year, month, date, hours, minutes, seconds, ms )"; 71 var YEAR = 9; 188 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", ResultArray[YEAR], DateCase.getFullYear() );
|
15.9.3.2-1.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 31 1. Call ToNumber(year) 66 var YEAR = 9; 77 var TITLE = "Date( year, month, date, hours, minutes, seconds )"; 219 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", ResultArray[YEAR], DateCase.getFullYear() );
|
15.9.3.2-2.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 31 1. Call ToNumber(year) 66 var YEAR = 9; 77 var TITLE = "Date( year, month, date, hours, minutes, seconds )"; 197 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", ResultArray[YEAR], DateCase.getFullYear() );
|
15.9.3.2-3.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 31 1. Call ToNumber(year) 66 var YEAR = 9; 77 var TITLE = "Date( year, month, date, hours, minutes, seconds )"; 183 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", ResultArray[YEAR], DateCase.getFullYear() );
|
15.9.5.30-1.js | 145 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 154 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 172 this.year = 0; 189 d.year = YearFromTime(t); 199 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
/packages/apps/Music/src/com/android/music/ |
MediaPickerActivity.java | 144 MediaStore.Audio.Media.YEAR 166 // video has no year column. 172 mWhereClause = MediaStore.Audio.Media.YEAR + ">=" + mFirstYear + " AND " + 173 MediaStore.Audio.Media.YEAR + "<=" + mLastYear; 197 // video has no year column
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
Support_SimpleDateFormat.java | 76 t_FormatWithField(1, format, date, null, Field.YEAR, 15, 17); 110 t_FormatWithField(25, format, date, null, Field.YEAR, 0, 0); 168 v.add(new FieldContainer(0, 4, Field.YEAR)); 184 v.add(new FieldContainer(18, 22, Field.YEAR)); 217 v.add(new FieldContainer(6, 8, Field.YEAR)); 218 v.add(new FieldContainer(9, 11, Field.YEAR)); 219 v.add(new FieldContainer(12, 16, Field.YEAR));
|
/external/icu4c/i18n/unicode/ |
ucal.h | 63 * <code>UDate</code> (such as only year and month but no day in the month), 106 * specification of the historial Arabic astronomical calendar requires year, 192 * Field number indicating the year. This is a calendar-specific value. 199 * The first month of the year is 200 * <code>JANUARY</code>; the last depends on the number of months in a year. 220 * week number within the current year. The first week of the year, as 224 * the year. 257 * number within the current year. The first day of the year has value 1 [all...] |
simpletz.h | 260 * Sets the daylight savings starting year, that is, the year this time zone began 262 * not to observe daylight savings time prior to that year; SimpleTimeZone doesn't 264 * @param year the daylight savings starting year. 267 void setStartYear(int32_t year); 560 * @param year The reference date's year 569 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 576 * @param year the year in the given date [all...] |
rbtz.h | 139 * @param year The reference date's year 148 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 160 * @param year The reference date's year 170 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ |
runtests.pl | 422 $now = $year ."/". $mon ."/". $mday ." ". $hour .":". 428 ( $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst ) = 432 $year= ($year < 2000) ? "19" . $year : $year; 452 $js_output = $test_dir ."/". $year .'-'. $mon .'-'. $mday ."\.1.html";
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 100 private String year; field in class:DateTimeParser.Date 104 public Date(String year, int month, int day) { 105 this.year = year; 110 public String getYear() { return year; } 206 y = year(); 276 final public String year() throws ParseException { method in class:DateTimeParser
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
TimeClustering.java | 402 // The items are from the same year - show at least as 409 // current year. 412 // Contains the year only if the date does not 413 // correspond to the current year. 419 // This means both dates are from the same year 429 // The items are not from the same year - only show 430 // month and year.
|
/external/icu4c/tools/tzcode/ |
tz2icu.cpp | 74 * Given a calendar year, return the GMT epoch seconds for midnight 75 * GMT of January 1 of that year. yearToSeconds(1970) == 0. 77 int64_t yearToSeconds(int32_t year) { 81 while (y < year) { 84 while (y > year) { 91 * Given 1970 GMT epoch seconds, return the calendar year containing 733 int32_t year; // takes effect for y >= year member in struct:FinalZone 737 offset(_offset), year(_year), ruleid(_ruleid) { 741 << " for year " << yea 952 int32_t offset, year; local 1362 int32_t year = fz.year; local [all...] |
/external/libxml2/ |
xmlschemastypes.c | 62 long year; member in struct:_xmlSchemaValDate 5846 unsigned long year; local [all...] |
/bionic/libc/tzcode/ |
strptime.c | 286 case 'j': /* The day of year. */ 340 case 'U': /* The week of year, beginning on sunday. */ 341 case 'W': /* The week of year, beginning on monday. */ 359 case 'Y': /* The year. */ 368 case 'y': /* The year within the century (2 digits). */ 393 * We need to evaluate the two digit year spec (%y)
|
/external/icu4c/i18n/ |
vzone.h | 179 * @param year The reference date's year 188 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 201 * @param year The reference date's year 211 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
date-format-xparb.js | 303 // Find the first Thursday of the year 311 var year = this.getFullYear(); 312 return ((year & 3) == 0 && (year % 100 || (year % 400 == 0 && year)));
|