dojo.provide("parus.formats");if(!parus){parus={}}if(!parus.formats){dojo.mixin(parus,{formats:{}})}dojo.mixin(parus.formats,{stringToDate:function(b,a){return b?dojo.date.locale.parse(b,{datePattern:"dd.MM.yyyy",selector:"date"}):a||null},dateToString:function(b,a){return b?dojo.date.locale.format(b,{selector:"date",datePattern:"dd.MM.yyyy"}):a||null},stringOfChar:function(b,a){return new Array(a+1).join(b)}});