---
title: "Significant differences in Java and Groovy"
canonical: "https://support.appfire.com/space/JMWE/461996381/Significant%20differences%20in%20Java%20and%20Groovy"
format: markdown
---
> Macro (aura-html)

- 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