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)
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
frode-carlsen/java-agent-poc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published