Skip to content

com.hypercubetools.timeslip / TimeSlip / at

at

@JvmStatic @JvmOverloads fun at(initialInstant:Instant, zone:ZoneId= DEFAULT_ZONE):TimeSlip

Create an instance that starts at a given time and won't move unless moveTo or tick are called.

Parameters

initialInstant - The time the instance is initially set to.

zone - The time-zone the instance should be based in. Defaults to UTC.

Return A newly constructed instance.