--- old/src/java.base/share/classes/java/time/package-info.java 2018-03-21 11:17:28.344775813 -0700 +++ new/src/java.base/share/classes/java/time/package-info.java 2018-03-21 11:17:27.460689335 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -90,7 +90,7 @@ * The calendar neutral API should be reserved for interactions with users. *

* - *

Dates and Times

+ *

Dates and Times

*

* {@link java.time.Instant} is essentially a numeric timestamp. * The current Instant can be retrieved from a {@link java.time.Clock}. @@ -118,7 +118,7 @@ * The widespread use of time-zones tends to add considerable complexity to an application. *

* - *

Duration and Period

+ *

Duration and Period

*

* Beyond dates and times, the API also allows the storage of periods and durations of time. * A {@link java.time.Duration} is a simple measure of time along the time-line in nanoseconds. @@ -126,7 +126,7 @@ * to humans, such as years or days. *

* - *

Additional value types

+ *

Additional value types

*

* {@link java.time.Month} stores a month on its own. * This stores a single month-of-year in isolation, such as 'DECEMBER'. @@ -160,7 +160,7 @@ * but contains less information than a full time-zone. *

* - *

Package specification

+ *

Package specification

*

* Unless otherwise noted, passing a null argument to a constructor or method in any class or interface * in this package will cause a {@link java.lang.NullPointerException NullPointerException} to be thrown. @@ -172,7 +172,7 @@ * or a {@link java.time.DateTimeException}. *

* - *

Design notes (non normative)

+ *

Design notes (non normative)

*

* The API has been designed to reject null early and to be clear about this behavior. * A key exception is any method that takes an object and returns a boolean, for the purpose