function Controller(){require("alloy/controllers/BaseController").apply(this,Array.prototype.slice.call(arguments)),this.__controllerPath="dateScrollItem",arguments[0]?arguments[0].__parentSymbol:null,arguments[0]?arguments[0].$model:null,arguments[0]?arguments[0].__itemTemplate:null;var e=this,l={};e.__views.dateScrollItem=Ti.UI.createView({left:1,right:1,width:60,height:90,backgroundGradient:Alloy.CFG.gradients.darkBlue,id:"dateScrollItem"}),e.__views.dateScrollItem&&e.addTopLevelView(e.__views.dateScrollItem),e.__views.label=Ti.UI.createLabel({font:{fontSize:18,fontFamily:Alloy.CFG.fonts.bold},color:Alloy.CFG.colors.white,top:8,textAlign:"center",touchEnabled:!1,id:"label"}),e.__views.dateScrollItem.add(e.__views.label),l.destroy=function(){},_.extend(e,e.__views),require("helpers"),require("alloy/moment");var t=arguments[0]||{};e.dateScrollItem.moment=t.date.valueOf(),e.label.text=(t.date.format("ddd")+"\n"+t.date.format("DD")+"\n"+t.date.format("MMM")).toUpperCase(),_.extend(e,l)}var Alloy=require("alloy"),Backbone=Alloy.Backbone,_=Alloy._;module.exports=Controller;