var Externals=(function(m){function a(s){return typeof s=="undefined"}var b=/('[^']*')|(G+|y+|M+|w+|W+|D+|d+|F+|E+|a+|H+|k+|K+|h+|m+|s+|S+|Z+)|([a-zA-Z]+)|([^a-zA-Z']+)/;
/*!
    */
var e=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"];var k=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"];var p=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];var l=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];var d=0,h=1,j=2,n=3,g=4,c=5;var f={G:d,y:n,M:g,w:j,W:j,D:j,d:j,F:j,E:h,a:d,H:j,k:j,K:j,h:j,m:j,s:j,S:j,Z:c};var r=24*60*60*1000;var o=7*r;var q=1;var i=function(t,u,s){var v=new Date(t,u,s,0,0,0);v.setMilliseconds(0);return v};Date.prototype.getDifference=function(s){return this.getTime()-s.getTime()};Date.prototype.isBefore=function(s){return this.getTime()<s.getTime()};Date.prototype.getUTCTime=function(){return Date.UTC(this.getFullYear(),this.getMonth(),this.getDate(),this.getHours(),this.getMinutes(),this.getSeconds(),this.getMilliseconds())};Date.prototype.getTimeSince=function(s){return this.getUTCTime()-s.getUTCTime()};Date.prototype.getPreviousSunday=function(){var t=new Date(this.getFullYear(),this.getMonth(),this.getDate(),12,0,0);var s=new Date(t.getTime()-this.getDay()*r);return i(s.getFullYear(),s.getMonth(),s.getDate())};Date.prototype.getWeekInYear=function(x){if(a(this.minimalDaysInFirstWeek)){x=q}var v=this.getPreviousSunday();var t=i(this.getFullYear(),0,1);var w=v.isBefore(t)?0:1+Math.floor(v.getTimeSince(t)/o);var s=7-t.getDay();var u=w;if(s<x){u--}return u};Date.prototype.getWeekInMonth=function(x){if(a(this.minimalDaysInFirstWeek)){x=q}var t=this.getPreviousSunday();var w=i(this.getFullYear(),this.getMonth(),1);var v=t.isBefore(w)?0:1+Math.floor((t.getTimeSince(w))/o);var s=7-w.getDay();var u=v;if(s>=x){u++}return u};Date.prototype.getDayInYear=function(){var s=i(this.getFullYear(),0,1);return 1+Math.floor(this.getTimeSince(s)/r)};m.SimpleDateFormat=function(s){this.formatString=s};m.SimpleDateFormat.prototype.setMinimalDaysInFirstWeek=function(s){this.minimalDaysInFirstWeek=s};m.SimpleDateFormat.prototype.getMinimalDaysInFirstWeek=function(s){return a(this.minimalDaysInFirstWeek)?q:this.minimalDaysInFirstWeek};m.SimpleDateFormat.prototype.format=function(L){var s="";var C;var w=function(O,N){while(O.length<N){O="0"+O}return O};var u=function(P,O,N){return(O>=4)?P:P.substr(0,Math.max(N,O))};var A=function(P,O){var N=""+P;return w(N,O)};var z=this.formatString;while((C=b.exec(z))){var G=C[0];var B=C[1];var D=C[2];var y=C[3];var x=C[4];if(B){if(B=="''"){s+="'"}else{s+=B.substring(1,B.length-1)}}else{if(y){}else{if(x){s+=x}else{if(D){var t=D.charAt(0);var M=D.length;var E="";switch(t){case"G":E="AD";break;case"y":E=L.getFullYear();break;case"M":E=L.getMonth();break;case"w":E=L.getWeekInYear(this.getMinimalDaysInFirstWeek());break;case"W":E=L.getWeekInMonth(this.getMinimalDaysInFirstWeek());break;case"D":E=L.getDayInYear();break;case"d":E=L.getDate();break;case"F":E=1+Math.floor((L.getDate()-1)/7);break;case"E":E=L.getDay();break;case"a":E=(L.getHours()>=12)?"PM":"AM";break;case"H":E=L.getHours();break;case"k":E=L.getHours()||24;break;case"K":E=L.getHours()%12;break;case"h":E=(L.getHours()%12)||12;break;case"m":E=L.getMinutes();break;case"s":E=L.getSeconds();break;case"S":E=L.getMilliseconds();break;case"Z":E=L.getTimezoneOffset();break}switch(f[t]){case d:s+=u(E,M,2);break;case h:if(M>=4){s+=p[E]}else{s+=l[E]}break;case j:s+=A(E,M);break;case n:if(M<=3){var v=""+E;s+=v.substr(2,2)}else{s+=A(E,M)}break;case g:if(M>=4){s+=e[E]}else{if(M==3){s+=k[E]}else{s+=A(E+1,M)}}break;case c:var K=(E>0);var H=K?"-":"+";var J=Math.abs(E);var I=""+Math.floor(J/60);I=w(I,2);var F=""+(J%60);F=w(F,2);s+=H+I+F;break}}}}}z=z.substr(C.index+C[0].length)}return s};return m}(Externals||{}));