Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

frode-carlsen/java-agent-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-agent-poc

Sample java agent which allows for playing with the time of the JVM. Unlike Jodatime which only allows for playing with the time used by the jodatime classes, this intercepts all calls to System.currentTimeMillis and adjusts the time any javacode thinks it runs with. This makes it useful for simulating time warps on the JVM (such as tests for 'what happens if I run this code at midnight?', 'on a DST change?', 'february 29th?', etc)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages