/frameworks/av/media/mtp/ |
MtpUtils.cpp | 30 representation, YYYY shall be replaced by the year, MM replaced by the month (01-12), 37 int year, month, day, hour, minute, second; local 41 &year, &month, &day, &hour, &minute, &second) != 6) 59 tm.tm_year = year - 1900;
|
/frameworks/opt/datetimepicker/res/values/ |
strings.xml | 45 Content description for the year selector in the date picker, which displays 49 <string name="year_picker_description">Year list</string> 52 <!-- Accessibility announcement for the year picker [CHAR LIMIT=NONE] --> 53 <string name="select_year">Select year</string>
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
dc.inp | 2 # usage: (echo YEAR; cat easter.dc) | dc
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
XMLGregorianCalendar.java | 66 * <a name="datetimefield-year"/> 68 * <td> year </td> 74 * {@link #getEon()} is high order year value in billion of years.<br/> 77 * Given that <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-63">XML Schema 1.0 errata</a> states that the year zero 79 * this class allows the year field to be set to zero. Otherwise, 80 * the year field value is handled exactly as described 82 * validation does not allow for the year field to have a value of zero. 196 * BigInteger year, 205 * int year, 215 * int year, [all...] |
DatatypeFactory.java | 148 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 150 * year, month, day, hour, minute, and second. 177 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 179 * year, month, day, hour, minute, and second. 193 * {@link java.util.Calendar#YEAR} = 1970, 367 * {@link java.util.Calendar#YEAR} = 1970, 525 * whose lexical representation contains only year and month components. 564 * whose lexical representation contains only year and month components. 579 * {@link java.util.Calendar#YEAR} = 1970, 586 * <p>Any remaining milliseconds after determining the year and month are discarded.</p [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 43 time.year = 2008; 49 assertEquals(2008, cal.get(Calendar.YEAR)); 73 final int year = 2008; local 77 time.set(date, month, year); 78 assertEquals(year, time.year); 95 assertEquals(time.year, anotherTime.year); 115 assertEquals(time.year, anotherTime.year); 582 final int year = 2008; local [all...] |
/external/chromium/net/ftp/ |
ftp_util.cc | 172 if (!base::StringToInt(rest, &time_exploded.year)) { 199 // Guess the year. 203 // If it's not possible for the parsed date to be in the current year, 204 // use the previous year. 208 time_exploded.year = current_exploded.year - 1; 210 time_exploded.year = current_exploded.year;
|
ftp_util.h | 37 // of month. The third one is either a time (and then we guess the year based 38 // on |current_time|), or is a year (and then we don't know the time).
|
/external/icu4c/i18n/ |
olsontz.cpp | 225 // year boundary, SimpleTimeZone may return false result when DST is observed at the 226 // beginning of year. We could apply safe margin (day or two), but when one of recurrent 227 // rules falls around year boundary, it could return false result. Without setting the 228 // start year, finalZone works fine around the year boundary of the start year. 238 // small windows of time around the year boundary, this may 328 int32_t OlsonTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, 337 return getOffset(era, year, month, dom, dow, millis, 338 Grego::monthLength(year, month) 437 int32_t year, month, dom, dow; local 564 int32_t year, month, dom, dow, doy, mid; local [all...] |
basictz.cpp | 155 // within roughly 1 year from the specified date 161 int32_t year, month, dom, dow, doy, mid; local 166 year, month, dom, dow, doy, mid); 167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 179 dtr, year, AnnualTimeZoneRule::MAX_YEAR); 186 // and within roughly 1 year from the next transition 193 year, month, dom, dow, doy, mid); 194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 199 dtr, year - 1, AnnualTimeZoneRule::MAX_YEAR); 224 year, month, dom, dow, doy, mid) 479 int32_t year, month, dom, dow, doy, mid; local [all...] |
chnsecal.h | 49 * first method is by sequential numbering from the 61st year of the reign 50 * of Huang Di, 2637 BCE, which is designated year 1 on the Chinese 51 * calendar. The second method uses 60-year cycles from the same starting 52 * point, which is designated year 1 of cycle 1. In this class, the 53 * <code>EXTENDED_YEAR</code> field contains the sequential year count. 55 * <code>YEAR</code> field contains the year of the cycle, a value between 59 * the calendar, with some sources starting in the first year of the reign 60 * of Huang Di, rather than the 61st. This gives continuous year numbers 237 * Returns the year in which the default century begin [all...] |
/external/icu4c/test/cintltst/ |
ccaltst.h | 85 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day); 87 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
|
/external/v8/test/mjsunit/regress/ |
regress-399.js | 31 var year = Number(String(date).match(/.*(200\d)/)[1]); variable 32 assertEquals(year, date.getFullYear());
|
/frameworks/base/docs/html/guide/topics/renderscript/ |
index.jd | 16 <p>It?s been a year since the last blog post on RenderScript, and with the release 18 since then. One of the major goals of this past year was to improve the performance
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
drm_inner.h | 26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\ 27 year = date / 10000;\
|
/frameworks/opt/datetimepicker/res/values-en-rGB/ |
strings.xml | 26 <string name="year_picker_description" msgid="6963340404644587098">"Year list"</string> 28 <string name="select_year" msgid="2603330600102539372">"Select year"</string>
|
/libcore/luni/src/test/java/libcore/java/util/ |
DateTest.java | 39 c.set(Calendar.YEAR, 21); 42 c.set(Calendar.YEAR, 321);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
forin-001.js | 24 ForIn_1( { length:4, company:"netscape", year:2000, 0:"zero" } ); 25 ForIn_2( { length:4, company:"netscape", year:2000, 0:"zero" } ); 26 ForIn_3( { length:4, company:"netscape", year:2000, 0:"zero" } ); 28 // ForIn_6({ length:4, company:"netscape", year:2000, 0:"zero" }); 29 // ForIn_7({ length:4, company:"netscape", year:2000, 0:"zero" }); 30 ForIn_8({ length:4, company:"netscape", year:2000, 0:"zero" });
|
/external/libmtp/examples/ |
sendtr.c | 59 fprintf(stderr, " -l <album> -c <codec> -g <genre> -n <track number> -y <year>\n"); 164 int sendtrack_function(char * from_path, char * to_path, char *partist, char *palbumartist, char *ptitle, char *pgenre, char *palbum, char *pcomposer, uint16_t tracknum, uint16_t length, uint16_t year, uint32_t storageid) 245 if (year == 0) { 247 if ( (pnum = prompt("Year", num, 80, 0)) == NULL ) 248 year = 0; 250 year = strtoul(pnum, 0, 10); 252 year = 0; 299 if (year > 0) { 301 printf("Year: %d\n", year); 385 uint16_t year = 0; local [all...] |
/frameworks/base/media/libdrm/mobile1/src/jni/ |
drm1_jni.c | 40 #define DAY_PER_YEAR 365 /* Days per year */ 42 /** Nonzero if 'y' is a leap year, else zero. */ 304 * \param year the year (since 1970) 315 uint32_t year, uint32_t month, uint32_t day, 324 assert(year >= 1970 330 /* Set 'day' to the number of days into the year. */ 331 day += ydays[month - 1] + (month > 2 && leap (year)) - 1; 334 day = day + 365 * (year - 1970) + nleap(year); 356 int32_t year, month, day, hour, minute, second; local 399 int32_t year, month, day, hour, minute, second; local [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
date-format-tofte.js | 122 // leap year or not. 1 if leap year, 0 if not. 191 // there's a chance it's "week 1" of next year. 200 // there's a chance it belongs in the old year. 210 // of the previous year, as the date, and then just 219 // first day of the year fell on a thursday, or earlier. 222 // first day of the year fell on a friday, or later. 232 // A full numeric representation of a year, 4 digits 254 // A two-digit representation of a year 259 // The day of the year, zero indexed! 0 through 36 [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
date-format-tofte.js | 122 // leap year or not. 1 if leap year, 0 if not. 191 // there's a chance it's "week 1" of next year. 200 // there's a chance it belongs in the old year. 210 // of the previous year, as the date, and then just 219 // first day of the year fell on a thursday, or earlier. 222 // first day of the year fell on a friday, or later. 232 // A full numeric representation of a year, 4 digits 254 // A two-digit representation of a year 259 // The day of the year, zero indexed! 0 through 36 [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...] |
/frameworks/base/core/tests/coretests/src/android/text/format/ |
TimeTest.java | 34 // System.out.println("got: " + t.year + '-' 190 if (local.year != test.year2 || local.month != test.month2 196 local.year, local.month, local.monthDay, local.hour, local.minute); 208 if (local.year != test.year2 || local.month != test.month2 214 local.year, local.month, local.monthDay, local.hour, local.minute); 231 if (local.year != test.year2 || local.month != test.month2 238 local.year, local.month, local.monthDay, local.hour, local.minute, 253 if (local.year != test.year2 || local.month != test.month2 260 local.year, local.month, local.monthDay, local.hour, local.minute, 362 if (!t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23) [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...] |