is there a date contraint in grails?
===

I am using.

    Date dateOfBirth
        static constraints = {
            dateOfBirth blank: false, date: true
        }

Is this allowed I am after a date constraint and I also want to specify the format how can I do this?

Thanks.