OffsetDateTime MIN example
Description
OffsetDateTime MIN
defines the minimum supported OffsetDateTime,
'-999999999-01-01T00:00:00+18:00'.
Syntax
MIN
has the following syntax.
public static final OffsetDateTime MIN
Example
The following example shows how to use MIN
.
import java.time.OffsetDateTime;
// w w w. ja va 2 s.c om
public class Main {
public static void main(String[] args) {
OffsetDateTime o = OffsetDateTime.MIN;
System.out.println(o);
}
}
The code above generates the following result.