Extract Method rasiInavlidTimeErorr

rasiInavlidTimeErorr method is added which displays a proper message and
returns false, these lines are deleted from SaveClass methods.