mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8220249: fix headings in java.compiler
Reviewed-by: erikj, darcy
This commit is contained in:
parent
7bb74f80da
commit
2df0f4b4dd
52 changed files with 250 additions and 250 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2019, 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
|
||||
|
@ -91,7 +91,7 @@ import sun.util.locale.provider.LocaleResources;
|
|||
* <p>
|
||||
* This class defines fields and units that are specific to the ISO calendar system.
|
||||
*
|
||||
* <h3>Quarter of year</h3>
|
||||
* <h2>Quarter of year</h2>
|
||||
* The ISO-8601 standard is based on the standard civic 12 month year.
|
||||
* This is commonly divided into four quarters, often abbreviated as Q1, Q2, Q3 and Q4.
|
||||
* <p>
|
||||
|
@ -107,7 +107,7 @@ import sun.util.locale.provider.LocaleResources;
|
|||
* <li>{@link ChronoField#YEAR YEAR} - the standard ISO year
|
||||
* </ul>
|
||||
*
|
||||
* <h3>Week based years</h3>
|
||||
* <h2>Week based years</h2>
|
||||
* The ISO-8601 standard was originally intended as a data interchange format,
|
||||
* defining a string format for dates and times. However, it also defines an
|
||||
* alternate way of expressing the date, based on the concept of week-based-year.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2019, 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
|
||||
|
@ -115,7 +115,7 @@ public final class JulianFields {
|
|||
* the Julian Day value is validated against the range of valid values.
|
||||
* In {@linkplain ResolverStyle#LENIENT lenient mode} no validation occurs.
|
||||
*
|
||||
* <h3>Astronomical and Scientific Notes</h3>
|
||||
* <h4>Astronomical and Scientific Notes</h4>
|
||||
* The standard astronomical definition uses a fraction to indicate the time-of-day,
|
||||
* where each day is counted from midday to midday. For example,
|
||||
* a fraction of 0 represents midday, a fraction of 0.25
|
||||
|
@ -169,7 +169,7 @@ public final class JulianFields {
|
|||
* the Modified Julian Day value is validated against the range of valid values.
|
||||
* In {@linkplain ResolverStyle#LENIENT lenient mode} no validation occurs.
|
||||
*
|
||||
* <h3>Astronomical and Scientific Notes</h3>
|
||||
* <h4>Astronomical and Scientific Notes</h4>
|
||||
* <pre>
|
||||
* | ISO date | Modified Julian Day | Decimal MJD |
|
||||
* | 1970-01-01T00:00 | 40,587 | 40,587.0 |
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2019, 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
|
||||
|
@ -92,7 +92,7 @@ import java.time.DateTimeException;
|
|||
* of this interface may be in calendar systems other than ISO.
|
||||
* See {@link java.time.chrono.ChronoLocalDate} for a fuller discussion of the issues.
|
||||
*
|
||||
* <h3>When to implement</h3>
|
||||
* <h2>When to implement</h2>
|
||||
* <p>
|
||||
* A class should implement this interface if it meets three criteria:
|
||||
* <ul>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2019, 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
|
||||
|
@ -120,7 +120,7 @@ import sun.util.locale.provider.LocaleResources;
|
|||
* </ul>
|
||||
* Together these two values allow a year or month to be divided into weeks.
|
||||
*
|
||||
* <h3>Week of Month</h3>
|
||||
* <h2>Week of Month</h2>
|
||||
* One field is used: week-of-month.
|
||||
* The calculation ensures that weeks never overlap a month boundary.
|
||||
* The month is divided into periods where each period starts on the defined first day-of-week.
|
||||
|
@ -145,14 +145,14 @@ import sun.util.locale.provider.LocaleResources;
|
|||
* </tbody>
|
||||
* </table>
|
||||
*
|
||||
* <h3>Week of Year</h3>
|
||||
* <h2>Week of Year</h2>
|
||||
* One field is used: week-of-year.
|
||||
* The calculation ensures that weeks never overlap a year boundary.
|
||||
* The year is divided into periods where each period starts on the defined first day-of-week.
|
||||
* The earliest period is referred to as week 0 if it has less than the minimal number of days
|
||||
* and week 1 if it has at least the minimal number of days.
|
||||
*
|
||||
* <h3>Week Based Year</h3>
|
||||
* <h2>Week Based Year</h2>
|
||||
* Two fields are used for week-based-year, one for the
|
||||
* {@link #weekOfWeekBasedYear() week-of-week-based-year} and one for
|
||||
* {@link #weekBasedYear() week-based-year}. In a week-based-year, each week
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue