[wpiutil] Add disableMockTime to JNI (#3839)

This exposes the equivalent of SetNowImpl(nullptr) to Java.
This commit is contained in:
Peter Johnson
2021-12-27 11:51:32 -06:00
committed by GitHub
parent dceb5364f4
commit e373fa476b
2 changed files with 15 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ public final class WPIUtilJNI {
public static native void enableMockTime();
public static native void disableMockTime();
public static native void setMockTime(long time);
public static native long now();