HomeSort by relevance Sort by last modified time
    Searched defs:year (Results 1 - 25 of 303) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/v8/test/mjsunit/regress/
regress-399.js 31 var year = Number(String(date).match(/.*(200\d)/)[1]); variable
32 assertEquals(year, date.getFullYear());
regress-91.js 29 var year = date.getYear(); variable
31 date.setYear(1900 + year);
32 assertEquals(year, date.getYear());
  /external/v8/test/mjsunit/regress/
regress-399.js 31 var year = Number(String(date).match(/.*(200\d)/)[1]); variable
32 assertEquals(year, date.getFullYear());
regress-91.js 29 var year = date.getYear(); variable
31 date.setYear(1900 + year);
32 assertEquals(year, date.getYear());
  /bionic/libc/tzcode/
asctime.c 32 ** The ISO C 1999 and POSIX 1003.1-2004 standards prohibit padding the year,
41 ** For years that are more than four digits we put extra spaces before the year
43 ** a digit within a year and truncating the year (operating on the assumption
83 char year[INT_STRLEN_MAXIMUM(int) + 2]; local
97 ** Use strftime's %Y to generate the year, to avoid overflow problems
102 (void) strftime(year, sizeof year, "%Y", timeptr);
107 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B),
111 year); local
    [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/test/intltest/
calcasts.h 30 int32_t year; member in struct:CalendarCaseTest::TestCase
  /external/chromium_org/third_party/icu/source/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...]
  /external/chromium_org/v8/test/intl/date-format/
timezone-name.js 38 year: 'numeric', month: 'long', day: 'numeric',
  /external/chromium_org/v8/test/intl/overrides/
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/icu4c/test/intltest/
calcasts.h 30 int32_t year; member in struct:CalendarCaseTest::TestCase
  /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/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;
  /external/chromium/net/ftp/
ftp_directory_listing_parser_unittest.cc 74 mock_current_time_exploded.year = 1994;
114 int year, month, day_of_month, hour, minute; local
115 base::StringToInt(lines[8 * i + 3], &year);
138 EXPECT_EQ(year, time_exploded.year);
ftp_directory_listing_parser_unittest.h 24 int year; member in struct:net::FtpDirectoryListingParserTest::SingleLineTestData
54 EXPECT_EQ(test_case.year, time_exploded.year);
65 mock_current_time_exploded.year = 1994;
  /external/chromium_org/net/ftp/
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);
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/chromium_org/third_party/icu/source/tools/gentest/
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);
  /external/chromium_org/v8/src/
dateparser.cc 42 int year = 0; // Default year is 0 (=> 2000) for KJS compatibility. local
49 year = comp_[0];
56 if (index_ == 3) year = comp_[2];
65 year = comp_[0];
70 year = comp_[1];
75 if (Between(year, 0, 49)) year += 2000;
76 else if (Between(year, 50, 99)) year += 1900
    [all...]
  /external/icu4c/tools/gentest/
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);
  /external/v8/src/
dateparser.cc 42 int year = 0; // Default year is 0 (=> 2000) for KJS compatibility. local
49 year = comp_[0];
56 if (index_ == 3) year = comp_[2];
65 year = comp_[0];
70 year = comp_[1];
75 if (Between(year, 0, 49)) year += 2000;
76 else if (Between(year, 50, 99)) year += 1900
    [all...]
  /build/tools/zipalign/
ZipEntry.cpp 377 int year; local
378 year = ptm->tm_year;
379 if (year < 80)
380 year = 80;
382 zdate = (year - 80) << 9 | (ptm->tm_mon+1) << 5 | ptm->tm_mday;
  /external/chromium_org/components/autofill/core/browser/
validation_unittest.cc 14 const char* year; member in struct:autofill::__anon10117::ExpirationDate
19 const int year; member in struct:autofill::__anon10117::IntExpirationDate
54 { "2013", "5" }, // Valid month in current year.
55 { "2014", "1" }, // Any month in next year.
57 { " 2014", "1" }, // Whitespace in year.
60 { 2013, 5 }, // Valid month in current year.
61 { 2014, 1 }, // Any month in next year.
64 { "2013", "04" }, // Previous month in current year.
65 { "2012", "12" }, // Any month in previous year.
68 { 2013, 4 }, // Previous month in current year
    [all...]
  /external/chromium_org/third_party/flot/
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?f<o.year?h="Q%q":h="Q%q %Y":h="%Y";var p=r(n,h,i.monthNames,i.dayNames);return p})})})}var t={xaxi (…) property
    [all...]

Completed in 1674 milliseconds

1 2 3 4 5 6 7 8 91011>>