在Groovy中,如果使用Date类型那么需要使用Calendar,再通过Calendar的time属性来获得Date,如果直接使用new Date可能有问题。

(Visited 109 times, 1 visits today)