public static Date offset ( Long offsetInMillis ) { DateTimeUtils . setCurrentMillisOffset ( offsetInMillis ) ; return new Date ( DateTimeUtils . currentTimeMillis ( ) ) ; }
Moves the clock by the given offset and keeps it running from that point on .