almost completed

I've finished the method showCal，and implemente the different showing
type according to the different argument. what I need to do is to
finish checking validity of the inputs