/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-399.js | 31 var year = Number(String(date).match(/.*(200\d)/)[1]); variable 32 assertEquals(year, date.getFullYear());
|
H A D | regress-91.js | 29 var year = date.getYear(); variable 31 date.setYear(1900 + year); 32 assertEquals(year, date.getYear());
|
H A D | regress-builtinbust-7.js | 15 year: "numeric", 27 assertTrue(options_incomplete.hasOwnProperty("year"));
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | calcasts.h | 30 int32_t year; member in struct:CalendarCaseTest::TestCase
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
H A D | 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...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/ |
H A D | ChromeDatePickerDialog.java | 22 int year, 25 super(context, 0, callBack, year, monthOfYear, dayOfMonth); 20 ChromeDatePickerDialog(Context context, OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) argument
|
H A D | MonthPickerDialog.java | 16 * @param year The initial year of the dialog. 20 int year, int monthOfYear, double minMonth, double maxMonth) { 21 super(context, callBack, year, monthOfYear, minMonth, maxMonth); 19 MonthPickerDialog(Context context, OnValueSetListener callBack, int year, int monthOfYear, double minMonth, double maxMonth) argument
|
H A D | WeekPickerDialog.java | 16 * @param year The initial year of the dialog. 21 int year, int weekOfYear, 23 this(context, 0, callBack, year, weekOfYear, minValue, maxValue); 30 * @param year The initial year of the dialog. 36 int year, 39 super(context, theme, callBack, year, weekOfYear, minValue, maxValue); 19 WeekPickerDialog(Context context, OnValueSetListener callBack, int year, int weekOfYear, double minValue, double maxValue) argument 33 WeekPickerDialog(Context context, int theme, OnValueSetListener callBack, int year, int weekOfYear, double minValue, double maxValue) argument
|
H A D | DateDialogNormalizer.java | 60 int year, int month, int day, int hour, int minute, long minMillis, long maxMillis) { 63 calendar.set(year, month, day, hour, minute, 0); 59 normalize(DatePicker picker, OnDateChangedListener listener, int year, int month, int day, int hour, int minute, long minMillis, long maxMillis) argument
|
/external/chromium_org/v8/test/intl/date-format/ |
H A D | timezone-name.js | 38 year: 'numeric', month: 'long', day: 'numeric',
|
/external/chromium_org/v8/test/intl/overrides/ |
H A D | date.js | 38 [], {year: 'numeric', month: 'numeric', day: 'numeric', 51 locale, {year: 'numeric', month: 'numeric', day: 'numeric', 60 var options = {year: 'numeric', month: 'long', day: 'numeric',
|
/external/icu/icu4c/source/test/intltest/ |
H A D | calcasts.h | 30 int32_t year; member in struct:CalendarCaseTest::TestCase
|
/external/icu/icu4c/source/tools/tzcode/ |
H A D | 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...] |
/external/javassist/sample/reflect/ |
H A D | Person.java | 30 public int getAge(int year) {
argument 31 return year - birth;
|
/external/chromium_org/net/ftp/ |
H A D | ftp_directory_listing_parser_unittest.cc | 34 mock_current_time_exploded.year = 1994; 75 int year, month, day_of_month, hour, minute; local 76 base::StringToInt(lines[9 * i + 3], &year); 99 EXPECT_EQ(year, time_exploded.year);
|
H A D | 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/pdfium/fpdfsdk/include/ |
H A D | fsdk_baseannot.h | 50 FX_SHORT year;
member in struct:CPDFSDK_DateTime::FX_DATETIME
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | convert_web_app_unittest.cc | 70 base::Time GetTestTime(int year, int month, int day, int hour, int minute, argument 73 exploded.year = year;
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | validation_unittest.cc | 16 const char* year; member in struct:autofill::__anon6346::ExpirationDate 21 const int year; member in struct:autofill::__anon6346::IntExpirationDate 56 { "2013", "5" }, // Valid month in current year. 57 { "2014", "1" }, // Any month in next year. 59 { " 2014", "1" }, // Whitespace in year. 62 { 2013, 5 }, // Valid month in current year. 63 { 2014, 1 }, // Any month in next year. 66 { "2013", "04" }, // Previous month in current year. 67 { "2012", "12" }, // Any month in previous year. 70 { 2013, 4 }, // Previous month in current year [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | PagePopupController.cpp | 76 String PagePopupController::formatMonth(int year, int zeroBaseMonth) argument 81 date.setMonthsSinceEpoch((year - 1970) * 12.0 + zeroBaseMonth); 85 String PagePopupController::formatShortMonth(int year, int zeroBaseMonth) argument 90 date.setMonthsSinceEpoch((year - 1970) * 12.0 + zeroBaseMonth); 94 String PagePopupController::formatWeek(int year, int weekNumber, const String& localizedDateString) argument 99 bool setWeekResult = week.setWeek(year, weekNumber);
|
/external/chromium_org/third_party/flot/ |
H A D | jquery.flot.time.min.js | 9 */(function(e){function n(e,t){return t*Math.floor(e/t)}function r(e,t,n,r){if(typeof e.strftime=="function")return e.strftime(t);var i=function(e,t){return e=""+e,t=""+(t==null?"0":t),e.length==1?t+e:e},s=[],o=!1,u=e.getHours(),a=u<12;n==null&&(n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),r==null&&(r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]);var f;u>12?f=u-12:u==0?f=12:f=u;for(var l=0;l<t.length;++l){var c=t.charAt(l);if(o){switch(c){case"a":c=""+r[e.getDay()];break;case"b":c=""+n[e.getMonth()];break;case"d":c=i(e.getDate());break;case"e":c=i(e.getDate()," ");break;case"h":case"H":c=i(u);break;case"I":c=i(f);break;case"l":c=i(f," ");break;case"m":c=i(e.getMonth()+1);break;case"M":c=i(e.getMinutes());break;case"q":c=""+(Math.floor(e.getMonth()/3)+1);break;case"S":c=i(e.getSeconds());break;case"y":c=i(e.getFullYear()%100);break;case"Y":c=""+e.getFullYear();break;case"p":c=a?"am":"pm";break;case"P":c=a?"AM":"PM";break;case"w":c=""+e.getDay()}s.push(c),o=!1}else c=="%"?o=!0:s.push(c)}return s.join("")}function i(e){function t(e,t,n,r){e[t]=function(){return n[r].apply(n,arguments)}}var n={date:e};e.strftime!=undefined&&t(n,"strftime",e,"strftime"),t(n,"getTime",e,"getTime"),t(n,"setTime",e,"setTime");var r=["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds"];for(var i=0;i<r.length;i++)t(n,"get"+r[i],e,"getUTC"+r[i]),t(n,"set"+r[i],e,"setUTC"+r[i]);return n}function s(e,t){if(t.timezone=="browser")return new Date(e);if(!t.timezone||t.timezone=="utc")return i(new Date(e));if(typeof timezoneJS!="undefined"&&typeof timezoneJS.Date!="undefined"){var n=new timezoneJS.Date;return n.setTimezone(t.timezone),n.setTime(e),n}return i(new Date(e))}function l(t){t.hooks.processOptions.push(function(t,i){e.each(t.getAxes(),function(e,t){var i=t.options;i.mode=="time"&&(t.tickGenerator=function(e){var t=[],r=s(e.min,i),u=0,l=i.tickSize&&i.tickSize[1]==="quarter"||i.minTickSize&&i.minTickSize[1]==="quarter"?f:a;i.minTickSize!=null&&(typeof i.tickSize=="number"?u=i.tickSize:u=i.minTickSize[0]*o[i.minTickSize[1]]);for(var c=0;c<l.length-1;++c)if(e.delta<(l[c][0]*o[l[c][1]]+l[c+1][0]*o[l[c+1][1]])/2&&l[c][0]*o[l[c][1]]>=u)break;var h=l[c][0],p=l[c][1];if(p=="year"){if(i.minTickSize!=null&&i.minTickSize[1]=="year")h=Math.floor(i.minTickSize[0]);else{var d=Math.pow(10,Math.floor(Math.log(e.delta/o.year)/Math.LN10)),v=e.delta/o.year/d;v<1.5?h=1:v<3?h=2:v<7.5?h=5:h=10,h*=d}h<1&&(h=1)}e.tickSize=i.tickSize||[h,p];var m=e.tickSize[0];p=e.tickSize[1];var g=m*o[p];p=="second"?r.setSeconds(n(r.getSeconds(),m)):p=="minute"?r.setMinutes(n(r.getMinutes(),m)):p=="hour"?r.setHours(n(r.getHours(),m)):p=="month"?r.setMonth(n(r.getMonth(),m)):p=="quarter"?r.setMonth(3*n(r.getMonth()/3,m)):p=="year"&&r.setFullYear(n(r.getFullYear(),m)),r.setMilliseconds(0),g>=o.minute&&r.setSeconds(0),g>=o.hour&&r.setMinutes(0),g>=o.day&&r.setHours(0),g>=o.day*4&&r.setDate(1),g>=o.month*2&&r.setMonth(n(r.getMonth(),3)),g>=o.quarter*2&&r.setMonth(n(r.getMonth(),6)),g>=o.year&&r.setMonth(0);var y=0,b=Number.NaN,w;do{w=b,b=r.getTime(),t.push(b);if(p=="month"||p=="quarter")if(m<1){r.setDate(1);var E=r.getTime();r.setMonth(r.getMonth()+(p=="quarter"?3:1));var S=r.getTime();r.setTime(b+y*o.hour+(S-E)*m),y=r.getHours(),r.setHours(0)}else r.setMonth(r.getMonth()+m*(p=="quarter"?3:1));else p=="year"?r.setFullYear(r.getFullYear()+m):r.setTime(b+g)}while(b<e.max&&b!=w);return t},t.tickFormatter=function(e,t){var n=s(e,t.options);if(i.timeformat!=null)return r(n,i.timeformat,i.monthNames,i.dayNames);var u=t.options.tickSize&&t.options.tickSize[1]=="quarter"||t.options.minTickSize&&t.options.minTickSize[1]=="quarter",a=t.tickSize[0]*o[t.tickSize[1]],f=t.max-t.min,l=i.twelveHourClock?" %p":"",c=i.twelveHourClock?"%I":"%H",h;a<o.minute?h=c+":%M:%S"+l:a<o.day?f<2*o.day?h=c+":%M"+l:h="%b %d "+c+":%M"+l:a<o.month?h="%b %d":u&&a<o.quarter||!u&&a<o.year?f<o.year?h="%b":h="%b %Y":u&&a<o.year property [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | cecal.cpp | 110 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset) argument 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) argument 133 int32_t c4; // number of 4 year cycle (1461 days) 134 int32_t r4; // remainder of 4 year cycle, always positive 138 year [all...] |
H A D | 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); 100 * and year are set, they do not change. 153 CopticCalendar::copticToJD(int32_t year, int32_ [all...] |
/external/chromium_org/third_party/icu/source/test/compat/ |
H A D | tzdate.c | 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime); 39 int year, month, day, hour, minute; local 44 sysyear = year = month = day = 0; 51 year = atoi(argv[1]); 58 /* format year for system time */ 59 sysyear = year - 1900; 109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { argument 119 ts.tm_year = year;
|
/external/chromium_org/third_party/icu/source/tools/gentest/ |
H A D | gentest.c | 146 int32_t year = getCurrentYear(); local 163 fprintf(out, "/** Copyright (C) 2007-%d, International Business Machines Corporation and Others. All Rights Reserved. **/\n\n", year);
|