Registry / utility / groovy-datetime

groovy-datetime

JSON →
library3.0.25javamavenunverified

Groovy extensions for the Java 8 Date/Time API (JSR-310).

<dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-datetime</artifactId> <version>3.0.25</version> </dependency>
INSTALL
IMPORT
SIG · GROOVY-DATETIME
G
groovy-datetime
utilityjavav3.0.25
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TimeCategory
groovy.time.TimeCategory

Uses Groovy's TimeCategory to add one day to the current date.

import groovy.time.TimeCategory; import java.time.LocalDate; public class Example { public static void main(String[] args) { use(TimeCategory.class) { LocalDate date = LocalDate.now() + 1.day; System.out.println(date); } } }
Debug
Known issues
breakingRequires Groovy runtime; not compatible with pure Java projects without Groovy.
fix
Add Groovy as a dependency and ensure the Groovy runtime is available.
affects: all
Upgrade
Version history
3.0.25latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
groovy-datetime — mvn dependency:get groovy-datetime · libregistry