Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.5.7
-
Component/s: groovy-jdk
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
GDK convenience methods to wrap SimpleDateFormat such as {{ new Date().format( 'yyyy-MM-dd' )}}.
These should probably added for Calendar too.
Would a complimentary 'parse' method be appropriate?
On second thought, adding methods to calendar seems a little overkill, since you could just say
calendar.time.format(...)
and DateFormat doesn't work on Calendar instances anyway.