/external/eigen/lapack/ |
clarft.f | 27 * .. Array Arguments .. 45 *> H(i) is stored in the i-th column of the array V, and 50 *> H(i) is stored in the i-th row of the array V, and 91 *> V is COMPLEX array, dimension 100 *> The leading dimension of the array V. 106 *> TAU is COMPLEX array, dimension (K) 113 *> T is COMPLEX array, dimension (LDT,K) 116 *> lower triangular. The rest of the array is not used. 122 *> The leading dimension of the array T. LDT >= K. 175 * .. Array Arguments . [all...] |
dlarft.f | 27 * .. Array Arguments .. 45 *> H(i) is stored in the i-th column of the array V, and 50 *> H(i) is stored in the i-th row of the array V, and 91 *> V is DOUBLE PRECISION array, dimension 100 *> The leading dimension of the array V. 106 *> TAU is DOUBLE PRECISION array, dimension (K) 113 *> T is DOUBLE PRECISION array, dimension (LDT,K) 116 *> lower triangular. The rest of the array is not used. 122 *> The leading dimension of the array T. LDT >= K. 175 * .. Array Arguments . [all...] |
slarft.f | 27 * .. Array Arguments .. 45 *> H(i) is stored in the i-th column of the array V, and 50 *> H(i) is stored in the i-th row of the array V, and 91 *> V is REAL array, dimension 100 *> The leading dimension of the array V. 106 *> TAU is REAL array, dimension (K) 113 *> T is REAL array, dimension (LDT,K) 116 *> lower triangular. The rest of the array is not used. 122 *> The leading dimension of the array T. LDT >= K. 175 * .. Array Arguments . [all...] |
zlarft.f | 27 * .. Array Arguments .. 45 *> H(i) is stored in the i-th column of the array V, and 50 *> H(i) is stored in the i-th row of the array V, and 91 *> V is COMPLEX*16 array, dimension 100 *> The leading dimension of the array V. 106 *> TAU is COMPLEX*16 array, dimension (K) 113 *> T is COMPLEX*16 array, dimension (LDT,K) 116 *> lower triangular. The rest of the array is not used. 122 *> The leading dimension of the array T. LDT >= K. 175 * .. Array Arguments . [all...] |
/external/eigen/test/eigen2/ |
eigen2_array.cpp | 11 #include <Eigen/Array> 13 template<typename MatrixType> void array(const MatrixType& m) function 16 Array.cpp 120 CALL_SUBTEST_1( array(Matrix<float, 1, 1>()) ); 121 CALL_SUBTEST_2( array(Matrix2f()) ); 122 CALL_SUBTEST_3( array(Matrix4d()) ); 123 CALL_SUBTEST_4( array(MatrixXcf(3, 3)) ); 124 CALL_SUBTEST_5( array(MatrixXf(8, 12)) ); 125 CALL_SUBTEST_6( array(MatrixXi(8, 12)) );
|
product.h | 11 #include <Eigen/Array>
|
/external/jetty/src/java/org/eclipse/jetty/util/ajax/ |
JSON.java | 25 import java.lang.reflect.Array; 48 * array ==> Object[] 61 * List --> array 62 * Array --> array 158 public static String toString(Object[] array) 161 DEFAULT.appendArray(buffer,array); 167 * String containing JSON object or array. 168 * @return A Map, Object array or primitive array parsed from the JSON 968 Object array = newArray(1); local [all...] |
/external/libchrome/base/mac/ |
foundation_util.h | 224 CF_TO_NS_MUTABLE_CAST_DECL(Array); 266 // CFArrayGetValueAtIndex(array, index));
|
/external/libvncserver/webclients/novnc/include/ |
webutil.js | 143 var callbackArgs = Array.prototype.slice.call(arguments, 1);
|
/external/mesa3d/src/gallium/tools/trace/ |
model.py | 74 class Array(Node):
|
/external/mesa3d/src/mesa/main/ |
get.c | 43 * value and the offset into struct gl_context in an array of structs. Then 50 * struct gl_context but in the drawbuffer, the array object, current texture 56 * struct, it's sort of like an array of opcodes that describe extra 1504 struct gl_client_array *array; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_draw_feedback.c | 112 const struct gl_client_array **arrays = ctx->Array._DrawArrays;
|
/external/pdfium/xfa/src/fxjse/src/ |
dynprop.cpp | 216 info.GetReturnValue().Set(v8::Array::New(pIsolate));
364 const v8::PropertyCallbackInfo<v8::Array>& info) {
368 v8::Local<v8::Array> newArray = v8::Array::New(pIsolate, lpClass->propNum);
|
/external/v8/src/ |
d8-posix.cc | 165 // A utility class that takes the array of command arguments and puts then in an 166 // array of new[]ed UTF-8 C strings. Deallocates them again when it goes out of 173 bool Init(Isolate* isolate, Local<Value> arg0, Local<Array> command_args) { 472 Local<Array> command_args; 477 "system: Argument 2 must be an array", 481 command_args = Local<Array>::Cast(args[1]); 483 command_args = Array::New(args.GetIsolate(), 0);
|
/external/v8/test/mjsunit/ |
double-equals.js | 214 testNotEqual(new Array(42), new Array(42));
|
/external/v8/test/mjsunit/strong/ |
literals.js | 98 assertSame(Array.prototype, Object.getPrototypeOf(x)); 118 assertSame(Array.prototype, Object.getPrototypeOf(x));
|
/external/v8/test/webkit/fast/js/kde/ |
md5-2.js | 79 * Calculate the MD5 of an array of little-endian words, producing an array 173 * Convert an array of little-endian words to a hex string. 188 * Convert an array of little-endian words to a base64 encoded string. 204 * as an array, and append appropriate padding for MD4/5 calculation. 210 var blks = new Array(nblk * 16) 221 * an array, and append appropriate padding for MD4/5 calculation. 226 var blks = new Array(nblk * 16)
|
/external/v8/tools/ |
profile_view.js | 122 * functions. Must comply with Array.sort sorting function requirements. 196 * functions. Must comply with Array.sort sorting function requirements.
|
/libcore/ojluni/src/main/java/java/util/ |
IdentityHashMap.java | 29 import java.lang.reflect.Array; 119 * as described for example in texts by Sedgewick and Knuth. The array [all...] |
/packages/apps/UnifiedEmail/assets/ |
script.js | 21 // this is an Array, but we treat it like a Set and only insert unique items 219 // the format of entries in this array is: 465 var urls = new Array(); 466 var messageIds = new Array(); 620 overlayTops = new Array(expandedBodyDivs.length + 1); 621 overlayBottoms = new Array(expandedBodyDivs.length + 1);
|
/prebuilts/misc/common/swig/include/2.0.11/java/ |
typemaps.i | 120 // are output only. An array replaces the c pointer or reference parameter. 121 // The output value is returned in this array passed in. 130 Java array being passed as a parameter where a c pointer or reference is required. 131 As with any Java function, the array is passed by reference so that 132 any modifications to the array will be picked up in the calling function. 133 Note that the array passed in MUST have at least one element, but as the 168 value in the single element array. In Java you would use it like this: 183 %typemap(jni) TYPE *OUTPUT, TYPE &OUTPUT %{JNITYPE##Array%} 191 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null"); 195 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element") [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
Scala.stg | 94 state.ruleMemo = new Array[java.util.Map[_,_]](<numRules>+1)<\n> <! index from 1..n !> 187 val tokenNames = Array( 224 override def getTokenNames: Array[String] = tokenNames 247 this.state.ruleMemo = new Array[java.util.Map[_,_]](<length(grammar.allImportedRules)>+1)<\n> <! index from 1..n !> 1019 val DFA<dfa.decisionNumber>_transitionS: Array[String] = Array( 1023 val DFA<dfa.decisionNumber>_eot: Array[Short] = DFA.unpackEncodedString(DFA<dfa.decisionNumber>_eotS) 1024 val DFA<dfa.decisionNumber>_eof: Array[Short] = DFA.unpackEncodedString(DFA<dfa.decisionNumber>_eofS) 1025 val DFA<dfa.decisionNumber>_min: Array[Char] = DFA.unpackEncodedStringToUnsignedChars(DFA<dfa.decisionNumber>_minS [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/static/ |
forms.js | 371 if (value.constructor === Array) { 394 * Construct array from repeated form element. 395 * @param {FormElement} form Form element to build array from. 396 * @return {Array} Array of repeated elements read from input form. 596 * @param {Object} messages Array of message descriptors as returned from the 598 * @param {string} container messages may be an Array of messages nested within
|
/external/v8/benchmarks/ |
crypto.js | 59 this.array = new Array(); 78 var this_array = this.array; 79 var w_array = w.array; 92 var this_array = this.array; 93 var w_array = w.array; 109 var this_array = this.array; 110 var w_array = w.array; 127 var this_array = this.array; 128 var w_array = w.array; [all...] |
/external/chromium-trace/catapult/tracing/third_party/css-element-queries/test/ |
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 new J(a)},orderIndex:function(a){return J.getMsg("dateOrder").indexOf(a)+1},defineFormat:function(b,a){D[b]=a;return this},defineParser:function(a){H.push((a.re&&a.handler)?a:y(a));return this},defineParsers:function(){Array.flatten(arguments).each(J.defineParser);return this},define2DigitYearStart:function(a){v=a%100;B=a (…) [all...] |