How can cast object 'parseDate' with class 'java.lang.String' to class 'java.util.Date' in grails?
<p>I'm new in grails and I'm trying to parse a String in a java.util.Date with grails. I've read here some questions with the method Date.parse but is deprecated and I want to do it with the new as Date. But, I'm not be able to do it.</p>

<p>Thanks in advance:</p>

<pre><code>def date = '2016-05-26'
def minute = '00:00'

def dataSearch = date + minute as Date
</code></pre>