SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the Membership Operator isCase() which is another groovy way:
assert Date.isCase(new Date())