Skip to content

A collection of useful Groovy extensions

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENCE.txt
Notifications You must be signed in to change notification settings

tddmonkey/groovy-extensions

Repository files navigation

Groovy Time Extensions

This is a simple library that adds extensions methods to Groovy numbers to generate a Java 8 Duration object

Usage

Duration.of(8, ChronoUnit.SECONDS) == 8.seconds()

The following units are available:

NANOS
MILLIS
SECONDS
HOURS	
HALF_DAYS
DAYS

Building

Groovy Extensions is built using the Gradle wrapper and uses Spock for tests

$ ./gradlew test

About

A collection of useful Groovy extensions

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENCE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages