i want to freeze 50 days in a year of a calender.how to do it.i tried some code,but it is not working.
function(oEvent){
var oCal = new sap.ui.getCore().byId("Calendar1");
var oT1 = new sap.ui.getCore().byId("Calendar1").getSelectedDates();
var oT2 = new sap.ui.getCpore().byId("Calendar1").setDaywidth('50');
var oT3 = new sap.ui.getCore().byId("Calendar1").setDisabledDates(oT2);
alert(oT1);
alert(oT3);
}