fork download
  1. import java.time.*;
  2.  
  3. public class Main {
  4. public static void main(String[] args) {
  5. Instant instant = Instant.parse("2016-10-02T00:00:00.000Z");
  6. System.out.println(instant);
  7. }
  8. }
Success #stdin #stdout 0.12s 56752KB
stdin
Standard input is empty
stdout
2016-10-02T00:00:00Z