Significant differences in Java and Groovy
- Date objects can be used in ranges, because the GDK adds the previous and next methods to Date , which increase or decrease the date by one day.
- The GDK also adds minus and plus operators to java.util.Date, which increase or decrease the date by the given number of days.
- The String methods previous and next are added by the GDK to make strings usable for ranges