< prev index next >

src/java.base/share/classes/java/time/temporal/package-info.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2012, 2013, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -73,11 +73,11 @@
  * <li>Fields of date-time, such as month-of-year, day-of-week or hour-of-day</li>
  * <li>Date-time adjustment functions</li>
  * <li>Different definitions of weeks</li>
  * </ul>
  *
- * <h3>Fields and Units</h3>
+ * <h2>Fields and Units</h2>
  * <p>
  * Dates and times are expressed in terms of fields and units.
  * A unit is used to measure an amount of time, such as years, days or minutes.
  * All units implement {@link java.time.temporal.TemporalUnit}.
  * The set of well known units is defined in {@link java.time.temporal.ChronoUnit}, such as {@code DAYS}.

@@ -104,11 +104,11 @@
  * called {@code getDayOfMonth()}. However for more unusual fields it is necessary to use the field.
  * For example, {@code date.get(ChronoField.ALIGNED_WEEK_OF_MONTH)}.
  * The fields also provide access to the range of valid values.
  * </p>
  *
- * <h3>Adjustment and Query</h3>
+ * <h2>Adjustment and Query</h2>
  * <p>
  * A key part of the date-time problem space is adjusting a date to a new, related value,
  * such as the "last day of the month", or "next Wednesday".
  * These are modeled as functions that adjust a base date-time.
  * The functions implement {@link java.time.temporal.TemporalAdjuster} and operate on {@code Temporal}.

@@ -129,11 +129,11 @@
  * {@code LocalDate::from} or {@code Month::from}.
  * Further implementations are provided in {@link java.time.temporal.TemporalQueries} as static methods.
  * Applications can also define queries by implementing {@link java.time.temporal.TemporalQuery}.
  * </p>
  *
- * <h3>Weeks</h3>
+ * <h2>Weeks</h2>
  * <p>
  * Different locales have different definitions of the week.
  * For example, in Europe the week typically starts on a Monday, while in the US it starts on a Sunday.
  * The {@link java.time.temporal.WeekFields} class models this distinction.
  * </p>

@@ -141,11 +141,11 @@
  * The ISO calendar system defines an additional week-based division of years.
  * This defines a year based on whole Monday to Monday weeks.
  * This is modeled in {@link java.time.temporal.IsoFields}.
  * </p>
  *
- * <h3>Package specification</h3>
+ * <h2>Package specification</h2>
  * <p>
  * 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.
  * The Javadoc "@param" definition is used to summarise the null-behavior.
  * The "@throws {@link java.lang.NullPointerException}" is not explicitly documented in each method.
< prev index next >