Java tutorial
import java.time.OffsetDateTime; public class Main { public static void main(String[] args) { OffsetDateTime o = OffsetDateTime.MAX; System.out.println(o.isAfter(OffsetDateTime.MIN)); } }