     func prevday(){
         self.DayControl(-1)
     }
-
+    
     //何日進めるかの値を受け取って日付を操作して表示内容を変更する
     func DayControl(control: Int){
         let nsdatesplit = self.ReturnYearMonthDayWeekday(currentnsdate)

        for i in 0..<buttonobjectarray.count {
            buttonobjectarray[i].removeFromSuperview()
        }

        self.buttontilearray.removeAll()
    }
}

        self.ShowAllData(CommonMethod().Changecalendar(currentnsdatesplit.year, calender: "A.D"), m: currentnsdatesplit.month, d: currentnsdatesplit.day)
        
        
        UIView.animateWithDuration(0.5) {
            
        }
        
