Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;

public class Main {
    public static void main(String[] args) {
        ZonedDateTime dateTime = ZonedDateTime.parse("2014-09-03T11:38:45.902-07:00[America/Los_Angeles]",
                DateTimeFormatter.ISO_DATE_TIME);

        System.out.println(dateTime);
    }
}