QueryDSL: DateTimePath to formatted string
<p>I need to compare date with string using "like" in querydsl. So I need to convert datetimepath to string in specific format. In my case it's "MM/dd/yyyy"
Something like that:</p>

<pre><code>String dateString = "%20/2015%";
QueryBase whereClause = query.where(myEntity.date.toString("MM/dd/yyyy").like(dateString));
</code></pre>

<p>myEntity.date is <code>DateTimePath&lt;java.util.Date&gt;</code>
Any ideas how to represent it as string?</p>