fork download
  1. import java.time.*;
  2.  
  3. class Ideone
  4. {
  5. public static void main (String[] args) throws java.lang.Exception
  6. {
  7. System.out.println(Instant.ofEpochMilli(Long.MAX_VALUE));
  8. }
  9. }
Success #stdin #stdout 0.07s 34444KB
stdin
Standard input is empty
stdout
+292278994-08-17T07:12:55.807Z