fork(1) download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. import java.time.* ;
  8.  
  9. /* Name of the class has to be "Main" only if the class is public. */
  10. class Ideone
  11. {
  12. public static void main (String[] args) throws java.lang.Exception
  13. {
  14.  
  15. Instant instant4 = Instant.parse("2021-06-22T18:27:03.5577Z") ;
  16. Instant instant5 = Instant.parse("2021-06-22T18:27:03.55770Z") ;
  17. Instant instant6 = Instant.parse("2021-06-22T18:27:03.557700Z") ;
  18. Instant instant7 = Instant.parse("2021-06-22T18:27:03.5577000Z") ;
  19. Instant instant8 = Instant.parse("2021-06-22T18:27:03.55770000Z") ;
  20.  
  21. System.out.println( instant4 ) ;
  22. System.out.println( instant5 ) ;
  23. System.out.println( instant6 ) ;
  24. System.out.println( instant7 ) ;
  25.  
  26. }
  27. }
Success #stdin #stdout 0.08s 49236KB
stdin
Standard input is empty
stdout
2021-06-22T18:27:03.557700Z
2021-06-22T18:27:03.557700Z
2021-06-22T18:27:03.557700Z
2021-06-22T18:27:03.557700Z