Creating validate about minimum period