/external/v8/test/mjsunit/regress/ |
H A D | regress-builtinbust-7.js | 12 var date = new Date(Date.UTC(2004, 12, 25, 3, 0, 0));
|
/external/snakeyaml/src/test/java/examples/jodatime/ |
H A D | JodaTimeExampleTest.java | 37 DateTime time = new DateTime(timestamp, DateTimeZone.UTC); 48 assertEquals(new DateTime(timestamp, DateTimeZone.UTC), time); 75 return new DateTime(date, DateTimeZone.UTC); 105 return new DateTime(date, DateTimeZone.UTC);
|
H A D | JodaTimeImplicitContructor.java | 37 return new DateTime(date, DateTimeZone.UTC);
|
H A D | JodaTimeFlowStylesTest.java | 45 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); 120 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); 146 return new DateTime(date, DateTimeZone.UTC);
|
/external/v8/test/mjsunit/ |
H A D | date.js | 162 assertEquals(8639999999999999, Date.UTC(275760, 8, 12, 23, 59, 59, 999)); 163 assertEquals(8640000000000000, Date.UTC(275760, 8, 13)); 164 assertTrue(isNaN(Date.UTC(275760, 8, 13, 0, 0, 0, 1))); 165 assertTrue(isNaN(Date.UTC(275760, 8, 14))); 167 assertEquals(Date.UTC(-271821, 3, 20, 0, 0, 0, 1), -8639999999999999); 168 assertEquals(Date.UTC(-271821, 3, 20), -8640000000000000); 169 assertTrue(isNaN(Date.UTC(-271821, 3, 19, 23, 59, 59, 999))); 170 assertTrue(isNaN(Date.UTC(-271821, 3, 19))); 191 assertEquals(8640000000000000, Date.UTC(1970, 0, 1 + 100000001, -24)); 192 assertEquals(-8640000000000000, Date.UTC(197 [all...] |
H A D | length.js | 77 assertEquals(7, Date.UTC.length, "Date.UTC.length");
|
H A D | to_number_order.js | 84 Date.UTC(year, month, date, hours, minutes, seconds, ms); 86 assertEquals("1234567", x, "Date.UTC"); 90 assertEquals("67", x, "Date.UTC");
|
/external/v8/test/webkit/ |
H A D | date-constructor.js | 90 Date.UTC(year, month, date, hours, minutes, seconds, ms);
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
H A D | datetime_utils.py | 26 'UTC', 'timedelta_to_seconds', 40 return 'UTC' 42 return 'UTC' 44 UTC = _UTC() variable 76 # No timezone given. None would mean local time, but we'll force UTC 79 return datetime.fromtimestamp(t, UTC)
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
H A D | XMPDateTimeFactory.java | 28 /** The UTC TimeZone */ 29 private static final TimeZone UTC = TimeZone.getTimeZone("UTC"); field in class:XMPDateTimeFactory 95 * @return Returns The returned time is UTC, properly adjusted for the local time zone. The 120 * Make sure a time is UTC. If the time zone is not UTC, the time is 121 * adjusted and the time zone set to be UTC. 131 GregorianCalendar cal = new GregorianCalendar(UTC);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
H A D | TestCase.java | 129 GregorianCalendar greg = new GregorianCalendar(UTC, Locale.getDefault()); 242 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT"); field in class:TestCase
|
H A D | CalendarTest.java | 55 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT"); field in class:CalendarTest 79 cal.setTimeZone(UTC); 92 gregFormat.setTimeZone(UTC); 94 GregorianCalendar pureGreg = new GregorianCalendar(UTC);
|
H A D | HebrewTest.java | 83 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault()); 121 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault());
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | TestCase.java | 128 GregorianCalendar greg = new GregorianCalendar(UTC, Locale.getDefault()); 241 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT"); field in class:TestCase
|
H A D | CalendarTest.java | 51 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT"); field in class:CalendarTest 75 cal.setTimeZone(UTC); 88 gregFormat.setTimeZone(UTC); 90 GregorianCalendar pureGreg = new GregorianCalendar(UTC);
|
H A D | HebrewTest.java | 79 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault()); 117 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault());
|
/external/libcap-ng/libcap-ng-0.7/ |
H A D | py-compile | 4 scriptversion=2011-06-08.12; # UTC 159 # time-stamp-time-zone: "UTC" 160 # time-stamp-end: "; # UTC"
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/ |
H A D | test_layer2.py | 210 class UTC(tzinfo): class in function:TestVault.test_initiate_job 211 """UTC""" 223 self.vault.retrieve_inventory(start_date=datetime(2014, 0o1, 0o1, tzinfo=UTC()), 224 end_date=datetime(2014, 0o1, 0o2, tzinfo=UTC()),
|
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/ |
H A D | i18n.py | 44 #: database. Default is ``'UTC'``. 62 'default_timezone': 'UTC', 308 datetime = datetime.replace(tzinfo=pytz.UTC) 313 """Returns a datetime object converted to UTC and without tzinfo. 318 A naive ``datetime`` object (no timezone), converted to UTC. 323 return datetime.astimezone(pytz.UTC).replace(tzinfo=None) 354 UTC is used. 381 A ``datetime`` object. If None, the current date and time in UTC 412 time in UTC is used. 443 or a ``datetime`` object in UTC [all...] |
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
H A D | extras_i18n_test.py | 87 'timezone': 'UTC', 224 i18n.get_i18n().set_timezone('UTC') 225 self.assertEqual(i18n.get_i18n().tzinfo.zone, 'UTC') 239 base = datetime.datetime(2002, 10, 27, 6, 0, 0, tzinfo=pytz.UTC) 256 base = datetime.datetime(2002, 10, 27, 6, 0, 0, tzinfo=pytz.UTC)
|
/external/curl/tests/ |
H A D | testcurl.pl | 337 # Set timestamp to the UTC this script is running. Its value might 339 $timestamp = scalar(gmtime)." UTC"; 432 # Set timestamp to the UTC the git update took place. 433 $timestamp = scalar(gmtime)." UTC" if (!$gitstat); 455 # Set timestamp to the UTC the git update took place. 456 $timestamp = scalar(gmtime)." UTC" if (!$gitstat); 513 $stampstring =~ s/\s+UTC//; 514 $timestamp = $stampstring." UTC";
|
/external/chromium-trace/catapult/third_party/flot/ |
H A D | NEWS.md | 192 the dates are displayed. If null, the dates are displayed as UTC. If 841 Timestamps are now in UTC. Also "selected" event -> becomes "plotselected" 848 Timestamps in time mode are now displayed according to UTC instead of the time 852 should use the equivalent UTC date mehods, e.g. .setUTCMonth() instead of
|
/external/chromium-trace/catapult/tracing/third_party/css-element-queries/test/ |
H A D | mootools-more-yui-compressed.min.js | 1 MooTools.More={version:"1.5.0",build:"73db5e24e6e9c5c87b3a27aebef2248053f7db37"};(function(){Events.Pseudos=function(a,j,i){var k="_monitorEvents:";var l=function(e){return{store:e.store?function(g,f){e.store(k+g,f)}:function(g,f){(e._monitorEvents||(e._monitorEvents={}))[g]=f},retrieve:e.retrieve?function(g,f){return e.retrieve(k+g,f)}:function(g,f){if(!e._monitorEvents){return f}return e._monitorEvents[g]||f}}};var b=function(f){if(f.indexOf(":")==-1||!a){return null}var g=Slick.parse(f).expressions[0][0],q=g.pseudos,h=q.length,r=[];while(h--){var s=q[h].key,e=a[s];if(e!=null){r.push({event:g.tag,value:q[h].value,pseudo:s,original:f,listener:e})}}return r.length?r:null};return{addEvent:function(t,g,w){var s=b(t);if(!s){return j.call(this,t,g,w)}var v=l(this),e=v.retrieve(t,[]),x=s[0].event,u=Array.slice(arguments,2),h=g,f=this;s.each(function(o){var n=o.listener,m=h;if(n==false){x+=":"+o.pseudo+"("+o.value+")"}else{h=function(){n.call(f,o,m,arguments,h)}}});e.include({type:x,event:g,monitor:h});v.store(t,e);if(t!=x){j.apply(this,[t,g].concat(u))}return j.apply(this,[x,h].concat(u))},removeEvent:function(e,f){var g=b(e);if(!g){return i.call(this,e,f)}var p=l(this),h=p.retrieve(e);if(!h){return this}var o=Array.slice(arguments,2);i.apply(this,[e,f].concat(o));h.each(function(n,m){if(!f||n.event==f){i.apply(this,[n.type,n.monitor].concat(o))}delete h[m]},this);p.store(e,h);return this}}};var c={once:function(b,a,g,h){a.apply(this,g);this.removeEvent(b.event,h).removeEvent(b.original,a)},throttle:function(b,a,f){if(!a._throttled){a.apply(this,f);a._throttled=setTimeout(function(){a._throttled=false},b.value||250)}},pause:function(b,a,f){clearTimeout(a._pause);a._pause=a.delay(b.value||250,this,f)}};Events.definePseudo=function(b,a){c[b]=a;return this};Events.lookupPseudo=function(a){return c[a]};var d=Events.prototype;Events.implement(Events.Pseudos(c,d.addEvent,d.removeEvent));["Request","Fx"].each(function(a){if(this[a]){this[a].implement(Events.prototype)}})})();Class.refactor=function(c,d){Object.each(d,function(a,b){var f=c.prototype[b];f=(f&&f.$origin)||f||function(){};c.implement(b,(typeof a=="function")?function(){var h=this.previous;this.previous=f;var e=a.apply(this,arguments);this.previous=h;return e}:a)});return c};Class.Mutators.Binds=function(b){if(!this.prototype.initialize){this.implement("initialize",function(){})}return Array.from(b).concat(this.prototype.Binds||[])};Class.Mutators.initialize=function(b){return function(){Array.from(this.Binds).each(function(a){var d=this[a];if(d){this[a]=d.bind(this)}},this);return b.apply(this,arguments)}};Class.Occlude=new Class({occlude:function(f,d){d=document.id(d||this.element);var e=d.retrieve(f||this.property);if(e&&!this.occluded){return(this.occluded=e)}this.occluded=false;d.store(f||this.property,this);return this.occluded}});(function(){var b={wait:function(a){return this.chain(function(){this.callChain.delay(a==null?500:a,this);return this}.bind(this))}};Chain.implement(b);if(this.Fx){Fx.implement(b)}if(this.Element&&Element.implement&&this.Fx){Element.implement({chains:function(a){Array.from(a||["tween","morph","reveal"]).each(function(d){d=this.get(d);if(!d){return}d.setOptions({link:"chain"})},this);return this},pauseFx:function(d,a){this.chains(a).get(a||"tween").wait(d);return this}})}})();(function(b){Array.implement({min:function(){return Math.min.apply(null,this)},max:function(){return Math.max.apply(null,this)},average:function(){return this.length?this.sum()/this.length:0},sum:function(){var a=0,d=this.length;if(d){while(d--){if(this[d]!=null){a+=parseFloat(this[d])}}}return a},unique:function(){return[].combine(this)},shuffle:function(){for(var f=this.length;f&&--f;){var a=this[f],e=Math.floor(Math.random()*(f+1));this[f]=this[e];this[e]=a}return this},reduce:function(g,f){for(var h=0,a=this.length;h<a;h++){if(h in this){f=f===b?this[h]:g.call(null,f,this[h],h,this)}}return f},reduceRight:function(f,e){var a=this.length;while(a--){if(a in this){e=e===b?this[a]:f.call(null,e,this[a],a,this)}}return e},pluck:function(a){return this.map(function(d){return d[a]})}})})();(function(){var c=function(a){return a!=null};var d=Object.prototype.hasOwnProperty;Object.extend({getFromPath:function(b,a){if(typeof a=="string"){a=a.split(".")}for(var g=0,h=a.length;g<h;g++){if(d.call(b,a[g])){b=b[a[g]]}else{return null}}return b},cleanValues:function(f,a){a=a||c;for(var b in f){if(!a(f[b])){delete f[b]}}return f},erase:function(b,a){if(d.call(b,a)){delete b[a]}return b},run:function(b){var f=Array.slice(arguments,1);for(var a in b){if(b[a].apply){b[a].apply(b,f)}}return b}})})();(function(){var f=null,g={},i={};var j=function(a){if(instanceOf(a,h.Set)){return a}else{return g[a]}};var h=this.Locale={define:function(e,a,c,b){var d;if(instanceOf(e,h.Set)){d=e.name;if(d){g[d]=e}}else{d=e;if(!g[d]){g[d]=new h.Set(d)}e=g[d]}if(a){e.define(a,c,b)}if(!f){f=e}return e},use:function(a){a=j(a);if(a){f=a;this.fireEvent("change",a)}return this},getCurrent:function(){return f},get:function(a,b){return(f)?f.get(a,b):""},inherit:function(c,b,a){c=j(c);if(c){c.inherit(b,a)}return this},list:function(){return Object.keys(g)}};Object.append(h,new Events);h.Set=new Class({sets:{},inherits:{locales:[],sets:{}},initialize:function(a){this.name=a||""},define:function(a,c,b){var d=this.sets[a];if(!d){d={}}if(c){if(typeOf(c)=="object"){d=Object.merge(d,c)}else{d[c]=b}}this.sets[a]=d;return this},get:function(a,t,b){var c=Object.getFromPath(this.sets,a);if(c!=null){var l=typeOf(c);if(l=="function"){c=c.apply(null,Array.from(t))}else{if(l=="object"){c=Object.clone(c)}}return c}var u=a.indexOf("."),d=u<0?a:a.substr(0,u),s=(this.inherits.sets[d]||[]).combine(this.inherits.locales).include("en-US");if(!b){b=[]}for(var v=0,w=s.length;v<w;v++){if(b.contains(s[v])){continue}b.include(s[v]);var e=g[s[v]];if(!e){continue}c=e.get(a,t,b);if(c!=null){return c}}return""},inherit:function(b,a){b=Array.from(b);if(a&&!this.inherits.sets[a]){this.inherits.sets[a]=[]}var c=b.length;while(c--){(a?this.inherits.sets[a]:this.inherits.locales).unshift(b[c])}return this}})})();Locale.define("en-US","Date",{months:["January","February","March","April","May","June","July","August","September","October","November","December"],months_abbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],days_abbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dateOrder:["month","date","year"],shortDate:"%m/%d/%Y",shortTime:"%I:%M%p",AM:"AM",PM:"PM",firstDayOfWeek:0,ordinal:function(b){return(b>3&&b<21)?"th":["th","st","nd","rd","th"][Math.min(b%10,4)]},lessThanMinuteAgo:"less than a minute ago",minuteAgo:"about a minute ago",minutesAgo:"{delta} minutes ago",hourAgo:"about an hour ago",hoursAgo:"about {delta} hours ago",dayAgo:"1 day ago",daysAgo:"{delta} days ago",weekAgo:"1 week ago",weeksAgo:"{delta} weeks ago",monthAgo:"1 month ago",monthsAgo:"{delta} months ago",yearAgo:"1 year ago",yearsAgo:"{delta} years ago",lessThanMinuteUntil:"less than a minute from now",minuteUntil:"about a minute from now",minutesUntil:"{delta} minutes from now",hourUntil:"about an hour from now",hoursUntil:"about {delta} hours from now",dayUntil:"1 day from now",daysUntil:"{delta} days from now",weekUntil:"1 week from now",weeksUntil:"{delta} weeks from now",monthUntil:"1 month from now",monthsUntil:"{delta} months from now",yearUntil:"1 year from now",yearsUntil:"{delta} years from now"});(function(){var J=this.Date;var E=J.Methods={ms:"Milliseconds",year:"FullYear",min:"Minutes",mo:"Month",sec:"Seconds",hr:"Hours"};["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds","Time","TimezoneOffset","Week","Timezone","GMTOffset","DayOfYear","LastMonth","LastDayOfMonth","UTCDate","UTCDay","UTCFullYear","AMPM","Ordinal","UTCHours","UTCMilliseconds","UTCMinutes","UTCMonth","UTCSeconds","UTCMilliseconds"].each(function(a){J.Methods[a.toLowerCase()]=a});var u=function(a,b,c){if(b==1){return a}return a<Math.pow(10,b-1)?(c||"0")+u(a,b-1,c):a};J.implement({set:function(a,c){a=a.toLowerCase();var b=E[a]&&"set"+E[a];if(b&&this[b]){this[b](c)}return this}.overloadSetter(),get:function(a){a=a.toLowerCase();var b=E[a]&&"get"+E[a];if(b&&this[b]){return this[b]()}return null}.overloadGetter(),clone:function(){return new J(this.get("time"))},increment:function(c,a){c=c||"day";a=a!=null?a:1;switch(c){case"year":return this.increment("month",a*12);case"month":var b=this.get("date");this.set("date",1).set("mo",this.get("mo")+a);return this.set("date",b.min(this.get("lastdayofmonth")));case"week":return this.increment("day",a*7);case"day":return this.set("date",this.get("date")+a)}if(!J.units[c]){throw new Error(c+" is not a supported interval")}return this.set("time",this.get("time")+a*J.units[c]())},decrement:function(b,a){return this.increment(b,-1*(a!=null?a:1))},isLeapYear:function(){return J.isLeapYear(this.get("year"))},clearTime:function(){return this.set({hr:0,min:0,sec:0,ms:0})},diff:function(a,b){if(typeOf(a)=="string"){a=J.parse(a)}return((a-this)/J.units[b||"day"](3,3)).round()},getLastDayOfMonth:function(){return J.daysInMonth(this.get("mo"),this.get("year"))},getDayOfYear:function(){return(J.UTC(this.get("year"),this.get("mo"),this.get("date")+1)-J.UTC(this.get("year"),0,1))/J.units.day()},setDay:function(b,c){if(c==null){c=J.getMsg("firstDayOfWeek");if(c===""){c=1}}b=(7+J.parseDay(b,true)-c)%7;var a=(7+this.get("day")-c)%7;return this.increment("day",b-a)},getWeek:function(c){if(c==null){c=J.getMsg("firstDayOfWeek");if(c===""){c=1}}var a=this,d=(7+a.get("day")-c)%7,e=0,b;if(c==1){var g=a.get("month"),f=a.get("date")-d;if(g==11&&f>28){return 1}if(g==0&&f<-2){a=new J(a).decrement("day",d);d=0}b=new J(a.get("year"),0,1).get("day")||7;if(b>4){e=-7}}else{b=new J(a.get("year"),0,1).get("day")}e+=a.get("dayofyear");e+=6-d;e+=(7+b-c)%7;return(e/7)},getOrdinal:function(a){return J.getMsg("ordinal",a||this.get("date"))},getTimezone:function(){return this.toString().replace(/^.*? ([A-Z]{3}).[0-9]{4}.*$/,"$1").replace(/^.*?\(([A-Z])[a-z]+ ([A-Z])[a-z]+ ([A-Z])[a-z]+\)$/,"$1$2$3")},getGMTOffset:function(){var a=this.get("timezoneOffset");return((a>0)?"-":"+")+u((a.abs()/60).floor(),2)+u(a%60,2)},setAMPM:function(b){b=b.toUpperCase();var a=this.get("hr");if(a>11&&b=="AM"){return this.decrement("hour",12)}else{if(a<12&&b=="PM"){return this.increment("hour",12)}}return this},getAMPM:function(){return(this.get("hr")<12)?"AM":"PM"},parse:function(a){this.set("time",J.parse(a));return this},isValid:function(a){if(!a){a=this}return typeOf(a)=="date"&&!isNaN(a.valueOf())},format:function(b){if(!this.isValid()){return"invalid date"}if(!b){b="%x %X"}if(typeof b=="string"){b=D[b.toLowerCase()]||b}if(typeof b=="function"){return b(this)}var a=this;return b.replace(/%([a-z%])/gi,function(c,d){switch(d){case"a":return J.getMsg("days_abbr")[a.get("day")];case"A":return J.getMsg("days")[a.get("day")];case"b":return J.getMsg("months_abbr")[a.get("month")];case"B":return J.getMsg("months")[a.get("month")];case"c":return a.format("%a %b %d %H:%M:%S %Y");case"d":return u(a.get("date"),2);case"e":return u(a.get("date"),2," ");case"H":return u(a.get("hr"),2);case"I":return u((a.get("hr")%12)||12,2);case"j":return u(a.get("dayofyear"),3);case"k":return u(a.get("hr"),2," ");case"l":return u((a.get("hr")%12)||12,2," ");case"L":return u(a.get("ms"),3);case"m":return u((a.get("mo")+1),2);case"M":return u(a.get("min"),2);case"o":return a.get("ordinal");case"p":return J.getMsg(a.get("ampm"));case"s":return Math.round(a/1000);case"S":return u(a.get("seconds"),2);case"T":return a.format("%H:%M:%S");case"U":return u(a.get("week"),2);case"w":return a.get("day");case"x":return a.format(J.getMsg("shortDate"));case"X":return a.format(J.getMsg("shortTime"));case"y":return a.get("year").toString().substr(2);case"Y":return a.get("year");case"z":return a.get("GMTOffset");case"Z":return a.get("Timezone")}return d})},toISOString:function(){return this.format("iso8601")}}).alias({toJSON:"toISOString",compare:"diff",strftime:"format"});var z=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var D={db:"%Y-%m-%d %H:%M:%S",compact:"%Y%m%dT%H%M%S","short":"%d %b %H:%M","long":"%B %d, %Y %H:%M",rfc822:function(a){return z[a.get("day")]+a.format(", %d ")+C[a.get("month")]+a.format(" %Y %H:%M:%S %Z")},rfc2822:function(a){return z[a.get("day")]+a.format(", %d ")+C[a.get("month")]+a.format(" %Y %H:%M:%S %z")},iso8601:function(a){return(a.getUTCFullYear()+"-"+u(a.getUTCMonth()+1,2)+"-"+u(a.getUTCDate(),2)+"T"+u(a.getUTCHours(),2)+":"+u(a.getUTCMinutes(),2)+":"+u(a.getUTCSeconds(),2)+"."+u(a.getUTCMilliseconds(),3)+"Z")}};var H=[],w=J.parse;var s=function(c,a,d){var e=-1,b=J.getMsg(c+"s");switch(typeOf(a)){case"object":e=b[a.get(c)];break;case"number":e=b[a];if(!e){throw new Error("Invalid "+c+" index: "+a)}break;case"string":var f=b.filter(function(g){return this.test(g)},new RegExp("^"+a,"i"));if(!f.length){throw new Error("Invalid "+c+" string")}if(f.length>1){throw new Error("Ambiguous "+c)}e=f[0]}return(d)?b.indexOf(e):e};var B=1900,v=70;J.extend({getMsg:function(a,b){return Locale.get("Date."+a,b)},units:{ms:Function.from(1),second:Function.from(1000),minute:Function.from(60000),hour:Function.from(3600000),day:Function.from(86400000),week:Function.from(608400000),month:function(b,c){var a=new J;return J.daysInMonth(b!=null?b:a.get("mo"),c!=null?c:a.get("year"))*86400000},year:function(a){a=a||new J().get("year");return J.isLeapYear(a)?31622400000:31536000000}},daysInMonth:function(a,b){return[31,J.isLeapYear(b)?29:28,31,30,31,30,31,31,30,31,30,31][a]},isLeapYear:function(a){return((a%4===0)&&(a%100!==0))||(a%400===0)},parse:function(a){var b=typeOf(a);if(b=="number"){return new J(a)}if(b!="string"){return a}a=a.clean();if(!a.length){return null}var c;H.some(function(d){var e=d.re.exec(a);return(e)?(c=d.handler(e)):false});if(!(c&&c.isValid())){c=new J(w(a));if(!(c&&c.isValid())){c=new J(a.toInt())}}return c},parseDay:function(b,a){return s("day",b,a)},parseMonth:function(a,b){return s("month",a,b)},parseUTC:function(b){var c=new J(b);var a=J.UTC(c.get("year"),c.get("mo"),c.get("date"),c.get("hr"),c.get("min"),c.get("sec"),c.get("ms"));return (…)
|
/external/caliper/lib/ |
H A D | joda-time-2.1.jar | META-INF/ META-INF/MANIFEST.MF org/ org/joda/ org/joda/time/ org/joda/time/base/ ... |
/external/chromium-trace/catapult/third_party/Paste/paste/evalexception/media/ |
H A D | MochiKit.packed.js | 1949 return new Date(Date.UTC(year,_227,day,hour,min,sec,msec)-ofs);
|