Changing system time in Java

I always wanted to find some reasonable way how to tell JVM "hey, it's 3:47 AM, January the first, 2000". When you have a need like this you probably use some DateFactory pattern. People argue - "that's the cleanest way, put it into the design!" However this comes with a price: This cleanest way means … Continue reading Changing system time in Java