//>>built
define("dojox/grid/enhanced/plugins/filter/_DataExprs",["dojo/_base/declare","dojo/_base/lang","dojo/date/locale","./_ConditionExpr"],function(b,e,g,c){var h=b("dojox.grid.enhanced.plugins.filter.BooleanExpr",c._DataExpr,{_name:"bool",_convertData:function(a){return!!a}}),k=b("dojox.grid.enhanced.plugins.filter.StringExpr",c._DataExpr,{_name:"string",_convertData:function(a){return String(a)}}),l=b("dojox.grid.enhanced.plugins.filter.NumberExpr",c._DataExpr,{_name:"number",_convertDataToExpr:function(a){return parseFloat(a)}}),
f=b("dojox.grid.enhanced.plugins.filter.DateExpr",c._DataExpr,{_name:"date",_convertData:function(a){if(a instanceof Date)return a;if("number"==typeof a)return new Date(a);var d=g.parse(String(a),e.mixin({selector:this._name},this._convertArgs));if(!d)throw Error("Datetime parse failed: "+a);return d},toObject:function(){if(this._value instanceof Date){var a=this._value;this._value=this._value.valueOf();var d=this.inherited(arguments);this._value=a;return d}return this.inherited(arguments)}});b=b("dojox.grid.enhanced.plugins.filter.TimeExpr",
f,{_name:"time"});return e.mixin({BooleanExpr:h,StringExpr:k,NumberExpr:l,DateExpr:f,TimeExpr:b},c)});