         }
       
         //スタッフの人数分(配列の最後まで)繰り返す
-        for(var i = 1; i < 2; i++){
+        for(var i = 2; i < 3; i++){
             
             var staffname = ""
             var staffarraytmp = ""

                for(var i = 0; i < holiday.count; i++){
                    holidayshiftlocationarray += self.GetShiftPositionArray(staffarraytmpnsstring, shiftname: holiday[i])
                }
                
                //print(self.AAA(staffarraytmpnsstring, shiftname: "公"))

            }
            
            
            
//            print(earlyshiftlocationarray)
//            print(center1shiftlocationarray)
//            print(center2shiftlocationarray)
//            print(center3shiftlocationarray)
//            print(lateshiftlocationarray)
            print(holidayshiftlocationarray)

        }

    }
    
    //指定したシフト体制を削除した文字列を返す関数
    func GetRemoveSetShiftName(staffarraysstring: NSString, shiftname: String) -> String{
        var removedshiftstring = ""
        
        removedshiftstring = staffarraysstring.stringByReplacingOccurrencesOfString(shiftname, withString: "")
        
        return removedshiftstring
    }
    
    //受け取った数値の中で一番小さい値のシフト体制を返す関数
    func AAA(){
        
    }
    
    
    //スタッフのシフトを日にちごとに分けたArrayを返す
    func SplitDayShiftGet(var staffarray: Array<String>) -> Array<String>{
