Instant MIN
defines the minimum supported Instant,
'-1000000000-01-01T00:00Z'.
MIN
has the following syntax.
public static final Instant MIN
The following example shows how to use MIN
.
import java.time.Instant; public class Main { public static void main(String[] args) { Instant instant = Instant.MIN; System.out.println(instant.getEpochSecond()); } }
The code above generates the following result.