public static void setFixedClock(ZonedDateTime zonedDateTime) {
		CentralClock.clock = Clock.fixed(zonedDateTime.toInstant(), ZoneId.systemDefault());
	}
public static void setFixedClock(ZonedDateTime zonedDateTime) {
		CentralClock.clock = Clock.fixed(zonedDateTime.toInstant(), ZoneId.systemDefault());
	}
public static void setFixedClock ( ZonedDateTime zonedDateTime ) { CentralClock . clock = Clock . fixed ( zonedDateTime . toInstant ( ) , ZoneId . systemDefault ( ) ) ; }
This method is used to set the clock to a fixed time. This is useful for
tests. This way it's possible to create date/time instances with a
predictable value for your tests.
This method is used to set the clock to a fixed time . This is useful for tests . This way it s possible to create date / time instances with a predictable value for your tests .